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