OnValidate
OnValidate()
protected void OnValidate() ;
Description
This function is called when the script is loaded or a value is changed in the inspector (Called in the editor only).
This function is called when the script is loaded or a value is changed in the inspector (Called in the editor only).