Exemplo n.º 1
0
    // Resets the game board, UI and player positions to the initial start phase
    public void Reset()
    {
        instance.ResetScores();
        Debug.Log("button pressed");

        // Hide end game screen
        instance.HideEndGameScreen();

        // Reset Game
        boardScript.ResetBoard();
        playerSnakeScript.ResetSnake();
        enemySnakeScript.ResetSnake();
    }