コード例 #1
0
 private void OnPushFocusChange()
 {
     if (StrategyTopTaskManager.GetSailSelect().isRun || StrategyTopTaskManager.GetShipMove().isRun)
     {
         StrategyTopTaskManager.Instance.GetAreaMng().UpdateSelectArea(areaID);
     }
 }
コード例 #2
0
 private void OnPushFocusChange()
 {
     if (!StrategyTopTaskManager.GetSailSelect().isRun&& !StrategyTopTaskManager.GetShipMove().isRun)
     {
         return;
     }
     StrategyTopTaskManager.Instance.GetAreaMng().UpdateSelectArea(this.areaID, false);
 }
コード例 #3
0
 public void PlayBoundAnimation()
 {
     if (StrategyTopTaskManager.GetSailSelect().isRun || StrategyTopTaskManager.GetShipMove().isRun)
     {
         ScaleAnimation.delay = 0f;
         ScaleAnimation.from  = new Vector3(0.9f, 0.9f, 0.9f);
         ScaleAnimation.ResetToBeginning();
         ScaleAnimation.PlayForward();
     }
 }
コード例 #4
0
 private void OnPushFocusArea()
 {
     if ((StrategyTopTaskManager.GetSailSelect().isRun || StrategyTopTaskManager.GetShipMove().isRun) && StrategyTopTaskManager.Instance.TileManager.FocusTile == this)
     {
         if (StrategyTopTaskManager.GetSailSelect().isRun)
         {
             StrategyTopTaskManager.GetSailSelect().OpenCommandMenu();
         }
         else if (areaID == SingletonMonoBehaviour <AppInformation> .Instance.CurrentAreaID)
         {
             StrategyTopTaskManager.GetShipMove().OnMoveCancel();
         }
         else
         {
             StrategyTopTaskManager.GetShipMove().OnMoveDeside();
         }
     }
 }