private void OnDestroy() { UserInterfacePortManager.ReleaseUtils.Release(ref this.mButton_Start); UserInterfacePortManager.ReleaseUtils.Release(ref this.mButton_TouchBack); if (this.mUIRemodeModernzationTargetShip_TargetShips != null) { for (int i = 0; i < this.mUIRemodeModernzationTargetShip_TargetShips.Length; i++) { this.mUIRemodeModernzationTargetShip_TargetShips[i] = null; } } this.mUIRemodeModernzationTargetShip_TargetShips = null; this.btnLight = null; this.mCurrentFocusTargetShipSlot = null; this._BeforeTargetSlot = null; this.mKeyController = null; this.mModernzationShipModel = null; }
private void OnDestroy() { this._bgPanel = null; this._materialObj = null; this._dismantleBtn = null; this._dismantleBtnLight = null; this._shipBanner = null; this._slotItemTex = null; this.ShipScroll = null; this.ItemScroll = null; this.mCamera_TouchEventCatch = null; this.mTransform_OverlayButtonForConfirm = null; this._breakMaterialManager = null; this.mUIShipSortButton = null; this.mStateManager = null; this.mArsenalManager = null; this.KeyController = null; this._uiOverlay3 = null; this._uiOverlay4 = null; }