Beispiel #1
0
    public void onClick()
    {
        string player1Name = GameObject.Find("IFfirstPlayer").GetComponent <InputField>().text;
        string player2Name = GameObject.Find("IFsecondPlayer").GetComponent <InputField>().text;

        GlobalHandler.initPlayers(player1Name, player2Name, null);

        //ScenesHandler.register(mainHandler);
        //ScenesHandler.startFirstRound();

        //mainHandler.startFirstRound();

        StartCoroutine(doIt(1.5f));
        SceneManager.LoadScene("Intro");
    }