protected virtual void OnEndPlayingPhase(GameControllerFsm.Events.EndPlayingOutTurnState @event)
    {
        currentTile       = destinationTile;
        currentTileFacing = destinationTileFacing;
        currentLevel      = destinationLevel;

        PositionAndOrientPiece();
        gameObject.SetActive(true);
    }
Exemple #2
0
    protected override void OnEndPlayingPhase(GameControllerFsm.Events.EndPlayingOutTurnState @event)
    {
        base.OnEndPlayingPhase(@event);

        missileCooldown = Mathf.Max(0, missileCooldown - 1);
    }