Exemple #1
0
 private void OnDestroy()
 {
     UserInterfacePortManager.ReleaseUtils.Releases(ref mTextures_Preload);
     UserInterfacePortManager.ReleaseUtils.Releases(ref mParticleSystems_Managed);
     _uiCommon     = null;
     _clsInputKey  = null;
     _clsTasks     = null;
     _clsArsenal   = null;
     _clsConstruct = null;
     _clsList      = null;
     logicManager  = null;
     soundManager  = null;
     dialogPopUp   = null;
     asyncObj      = null;
     commonPopup   = null;
     _uiBgPanel    = null;
     Mem.DelAry(ref _deck);
     Mem.DelAry(ref _ship);
     Mem.DelAry(ref _allShip);
     Mem.DelAry(ref dock);
     UIDrawCall.ReleaseInactive();
 }
Exemple #2
0
 private void OnDestroy()
 {
     UserInterfacePortManager.ReleaseUtils.Releases(ref this.mTextures_Preload, false);
     UserInterfacePortManager.ReleaseUtils.Releases(ref this.mParticleSystems_Managed);
     ArsenalTaskManager._uiCommon     = null;
     ArsenalTaskManager._clsInputKey  = null;
     ArsenalTaskManager._clsTasks     = null;
     ArsenalTaskManager._clsArsenal   = null;
     ArsenalTaskManager._clsConstruct = null;
     ArsenalTaskManager._clsList      = null;
     ArsenalTaskManager.logicManager  = null;
     ArsenalTaskManager.soundManager  = null;
     ArsenalTaskManager.dialogPopUp   = null;
     ArsenalTaskManager.asyncObj      = null;
     ArsenalTaskManager.commonPopup   = null;
     ArsenalTaskManager._uiBgPanel    = null;
     Mem.DelAry <DeckModel>(ref ArsenalTaskManager._deck);
     Mem.DelAry <ShipModel>(ref ArsenalTaskManager._ship);
     Mem.DelAry <ShipModel>(ref ArsenalTaskManager._allShip);
     Mem.DelAry <BuildDockModel>(ref ArsenalTaskManager.dock);
     UIDrawCall.ReleaseInactive();
 }
 private void Awake()
 {
     Instance = this;
     Message.GetComponent <UIPanel>().clipping = UIDrawCall.Clipping.None;
     ((Component)Message.transform.FindChild("p_Background")).GetComponent <UITexture>().mainTexture = (Resources.Load("Textures/Common/AlertMes/txtBG_white") as Texture2D);
 }
Exemple #4
0
 private void Awake()
 {
     CommonPopupDialog.Instance = this;
     this.Message.GetComponent <UIPanel>().clipping = UIDrawCall.Clipping.None;
     this.Message.get_transform().FindChild("p_Background").GetComponent <UITexture>().mainTexture = (Resources.Load("Textures/Common/AlertMes/txtBG_white") as Texture2D);
 }