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; }
public void SetOnUIRemodelEquipSlotItemActionListener(UIRemodelEquipSlotItem.UIRemodelEquipSlotItemAction action) { this.mUIRemodelEquipSlotItemAction = action; }