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