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