Ejemplo n.º 1
0
    Void Playing_OnGameOver()
    {
        logger.SetLogging(false);

        playerA.GetComponent <PlayerInputController>().enabled = false;
        playerB.GetComponent <PlayerInputController>().enabled = false;

        playerA.GetComponent <TankController>().Halt();
        playerB.GetComponent <TankController>().Halt();

        stateMachine.currentState = GameStates.Aftermath;

        return(Void.empty);
    }