Exemple #1
0
 void OnEnable()
 {
     Instance = this;
     EventCenter.AddListener(EGameEvent.eGameEvent_EndWaiting, DestorySelf);
 }
Exemple #2
0
 void OnEnable()
 {
     Instance = this;
     EventCenter.AddListener((Int32)GameEventEnum.GameEvent_EndWaiting, DestorySelf);
 }