protected override void OnCallDestroy() { ItemName = null; ItemIcon = null; Rare = null; levelStar = null; LockedIcon = null; }
private void OnDestroy() { UserInterfacePortManager.ReleaseUtils.Release(ref this.mWidget); UserInterfacePortManager.ReleaseUtils.Release(ref this.mSprite_TypeIcon); UserInterfacePortManager.ReleaseUtils.Release(ref this.mLabel_Name); UserInterfacePortManager.ReleaseUtils.Release(ref this.mLabel_PlaneCount); UserInterfacePortManager.ReleaseUtils.Release(ref this.mButton_Action); UserInterfacePortManager.ReleaseUtils.Release(ref this.mLock_Icon); this.levelStar = null; this.mUIRemodelEquipSlotItemAction = null; this.mModel = null; }
private void OnDestroy() { UserInterfacePortManager.ReleaseUtils.Release(ref mWidgetThis); UserInterfacePortManager.ReleaseUtils.Release(ref ItemName); UserInterfacePortManager.ReleaseUtils.Release(ref ItemIcon); UserInterfacePortManager.ReleaseUtils.Release(ref LockedIcon); UserInterfacePortManager.ReleaseUtils.Release(ref Rare); mTransform_Background = null; levelStar = null; mOnTouchListener = null; mTransformCache = null; mSlotItemModel = null; PlaneSkill = null; }