public void FinishBarrelRollAnimation() { performingAnimation = false; TheShip.ApplyRotationHelpers(); TheShip.ResetRotationHelpers(); TheShip.SetAngles(TemporaryShipBase.transform.eulerAngles); MonoBehaviour.DestroyImmediate(TemporaryShipBase); GameManagerScript Game = GameObject.Find("GameManager").GetComponent <GameManagerScript>(); Game.Movement.CollidedWith = null; MovementTemplates.HideLastMovementRuler(); TheShip.ToggleShipStandAndPeg(true); TheShip.FinishPosition(FinishBarrelRollAnimationPart2); }
public override void Next() { TheShip.FinishPosition(FinishBoostAnimation); }