Esempio n. 1
0
    public void StartGame()
    {
        AssignAttributes();
        BuildPlayerArray();
        roundManager.CreatePlayers(playerList);
        roundManager.currentState = RoundManager.GameState.PLAYER1;

        GameObject.Find("ScoreTotal").GetComponent <Text> ().text = "/ " + GameObject.Find("GameManager").GetComponent <GameManager> ().totalScore;
        GameObject.Find("SetupGame").SetActive(false);
        GameObject.Find("Undo").SetActive(false);
    }