protected virtual void OnDestroy()
 {
     if (mMBHotfixObj == null)
     {
         return;
     }
     mMBHotfixObj.OnDestroy();
     mObjects.Clear();
     mBaseDatas.Clear();
     mMBHotfixObj = null;
 }
Exemple #2
0
        protected virtual void OnDestroy()
        {
            if (mMBHotfixObj != null)
            {
                mMBHotfixObj.OnDestroy();
            }

            if (mObjects != null)
            {
                mObjects.Clear();
            }

            if (mBaseDatas != null)
            {
                mBaseDatas.Clear();
            }

            mMBHotfixObj = null;
            mObjects     = null;
            mBaseDatas   = null;
        }