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