private void GetRef()
 {
     StrategyTopTaskManager._clsCommandMenuTask = base.get_transform().FindChild("CommandMenu").GetComponent <TaskStrategyCommandMenu>();
     StrategyTopTaskManager._clsSailSelect      = base.get_transform().FindChild("SailSelect").GetComponent <TaskStrategySailSelect>();
     StrategyTopTaskManager._clsShipMove        = base.get_transform().FindChild("ShipMove").GetComponent <TaskStrategyShipMove>();
     StrategyTopTaskManager._clsMapSelect       = base.get_transform().FindChild("MapSelect").GetComponent <TaskStrategyMapSelect>();
     StrategyTopTaskManager._clsDeploy          = base.get_transform().FindChild("Deploy").GetComponent <TaskDeployTop>();
     StrategyTopTaskManager._clsAreaInfo        = base.get_transform().FindChild("Record").GetComponent <TaskStrategyAreaInfo>();
     StrategyTopTaskManager._clsDebug           = base.get_transform().FindChild("Debug").GetComponent <TaskStrategyDebug>();
     StrategyTopTaskManager._clsTurnEnd         = base.get_transform().FindChild("TurnEnd").GetComponent <StrategyTurnEnd>();
 }
 protected override void Start()
 {
     this.OverScene     = TaskStrategyCommandMenu.Scene.NONE;
     this.keyController = new KeyControl(0, 0, 0.4f, 0.1f);
     this.keyController.setChangeValue(-1f, 0f, 1f, 0f);
     this.keyController.KeyInputInterval = 0.2f;
     this.CommandMenu.Init(this.keyController);
     this.currentMenu      = TaskStrategyCommandMenu.MENU_NAME.SALLY;
     this.sailSelect       = StrategyTopTaskManager.GetSailSelect();
     this.isInfoOpenEnable = true;
 }
Esempio n. 3
0
 protected override void Start()
 {
     OverScene     = Scene.NONE;
     keyController = new KeyControl();
     keyController.setChangeValue(-1f, 0f, 1f, 0f);
     keyController.KeyInputInterval = 0.2f;
     CommandMenu.Init(keyController);
     currentMenu      = MENU_NAME.SALLY;
     sailSelect       = StrategyTopTaskManager.GetSailSelect();
     isInfoOpenEnable = true;
 }
 private void OnDestroy()
 {
     this.ENSEI          = null;
     this.EscortOrganize = null;
     this.mPrefab_UserInterfacePracticeManager = null;
     this.mUserInterfacePracticeManager        = null;
     this.sttm                = null;
     this.sailSelect          = null;
     this.CommandMenu         = null;
     this.LogicMng            = null;
     this.ShipNumberLabel     = null;
     this.areaModel           = null;
     this.warningPanel        = null;
     this.InfoRoot            = null;
     this.MapRoot             = null;
     this.OverView            = null;
     this.OverSceneObject     = null;
     this.StopExpeditionPanel = null;
     this.keyController       = null;
     this.SwipeEvent          = null;
     this.StopExpeditionPanel = null;
 }
Esempio n. 5
0
 private void OnDestroy()
 {
     ENSEI          = null;
     EscortOrganize = null;
     mPrefab_UserInterfacePracticeManager = null;
     mUserInterfacePracticeManager        = null;
     sttm                = null;
     sailSelect          = null;
     CommandMenu         = null;
     LogicMng            = null;
     ShipNumberLabel     = null;
     areaModel           = null;
     warningPanel        = null;
     InfoRoot            = null;
     MapRoot             = null;
     OverView            = null;
     OverSceneObject     = null;
     StopExpeditionPanel = null;
     keyController       = null;
     SwipeEvent          = null;
     StopExpeditionPanel = null;
 }
 private void OnDestroy()
 {
     StrategyTopTaskManager.Instance = null;
     this.uiModel = null;
     StrategyTopTaskManager._clsCommandMenuTask  = null;
     StrategyTopTaskManager._clsSailSelect       = null;
     StrategyTopTaskManager._clsShipMove         = null;
     StrategyTopTaskManager._clsMapSelect        = null;
     StrategyTopTaskManager._clsDeploy           = null;
     StrategyTopTaskManager._clsAreaInfo         = null;
     StrategyTopTaskManager._clsDebug            = null;
     StrategyTopTaskManager._clsTurnEnd          = null;
     StrategyTopTaskManager.StrategyLogicManager = null;
     if (this.AlertToastCamera != null)
     {
         this.AlertToastCamera.SetActive(true);
     }
     this.AlertToastCamera = null;
     this.TutorialGuide6_1 = null;
     this.TutorialGuide6_2 = null;
     this.TutorialGuide8_1 = null;
     this.TutorialGuide9_1 = null;
     this.StartCor         = null;
 }
 protected override void Start()
 {
     sttm            = StrategyTaskManager.GetStrategyTop();
     TaskSailSelect  = StrategyTopTaskManager.GetSailSelect();
     shipIconManager = StrategyTopTaskManager.Instance.ShipIconManager;
 }