private void OnPushFocusChange() { if (StrategyTopTaskManager.GetSailSelect().isRun || StrategyTopTaskManager.GetShipMove().isRun) { StrategyTopTaskManager.Instance.GetAreaMng().UpdateSelectArea(areaID); } }
private void OnPushFocusChange() { if (!StrategyTopTaskManager.GetSailSelect().isRun&& !StrategyTopTaskManager.GetShipMove().isRun) { return; } StrategyTopTaskManager.Instance.GetAreaMng().UpdateSelectArea(this.areaID, false); }
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(); } }
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(); } } }