protected virtual void OnDestroy() { if (mMBHotfixObj == null) { return; } mMBHotfixObj.OnDestroy(); mObjects.Clear(); mBaseDatas.Clear(); mMBHotfixObj = null; }
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; }