Example #1
0
        public void CancelBoost()
        {
            TheShip.IsLandedOnObstacle = false;

            TheShip.RemoveAlreadyExecutedAction(typeof(ActionsList.BoostAction));
            MonoBehaviour.Destroy(ShipStand);

            GameManagerScript Game = GameObject.Find("GameManager").GetComponent <GameManagerScript>();

            Game.Movement.CollidedWith = null;
            MovementTemplates.HideLastMovementRuler();

            PreviousSubPhase.Resume();
        }
Example #2
0
        public void CancelBarrelRoll()
        {
            StopDrag();

            TheShip.RemoveAlreadyExecutedAction(typeof(ActionsList.BarrelRollAction));

            TheShip.IsLandedOnObstacle = false;
            GameManagerScript Game = GameObject.Find("GameManager").GetComponent <GameManagerScript>();

            Game.Movement.CollidedWith = null;

            MonoBehaviour.Destroy(TemporaryShipBase);
            BarrelRollTemplate.SetActive(false);

            PreviousSubPhase.Resume();
        }