void OnValidate()

Summary

Called immediately after deserializing, and when a property is changed in the editor.
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.