Пример #1
0
 void OnDestroy()
 {
     UIEventManager.Instance.RemoveUIEventHandel(UIEventType.WorldChatMsg, ShowWorldChatHandle);
     m_instance = null;
 }
Пример #2
0
 void Awake()
 {
     m_instance = this;
 }