void OnValidate()

Summary

Called after deserialization, and before serialization. A place to error check and make sure everything is fine.
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.