Example #1
0
 void OnDestroy()
 {
     MonoBehaviourManager.Remove(this);
 }
Example #2
0
 void OnEnable()
 {
     MonoBehaviourManager.Add(this);
 }