Beispiel #1
0
 public void UnRegister()
 {
     mChatArray.Clear();
     mChatCellStructList.Clear();
     mUIMessageTag  = null;
     mUIMessageMain = null;
     mUIMessageMail = null;
 }
    void OnDestroy()
    {
        mInput    = null;
        mUITable2 = null;
        mFreeNum  = null;

        MessageMgr.GetInstance().Clear();
        _instance = null;
    }
Beispiel #3
0
 //main panel
 void CreateInfoPanel()
 {
     UnityEngine.Object obj = PrefabLoader.loadFromPack("LS/pbLSInformation");
     if (obj != null)
     {
         GameObject go = RUIMonoBehaviour.Instantiate(obj) as GameObject;
         mUIMessageMain = go.GetComponent <UIMessageMain>();
         RED.AddChild(go.gameObject, DBUIController.mDBUIInstance._bottomRoot);
     }
 }
    void OnDestory()
    {
//		curViewIsAlive = false;
        _instance = null;
    }
    void Awake()
    {
        _instance = this;
//		curViewIsAlive = true;
    }