예제 #1
0
    public void OnClickNextLevel()
    {
        GameObject.Find("btnNextLevel").GetComponent <Button>().interactable = false;
        var level = 2; //TODO: find gamestate!

        Bootstrap.ClearGame();
        Bootstrap.NewGame(level);
    }
예제 #2
0
 public void OnClickRestart()
 {
     Bootstrap.ClearGame();
     Bootstrap.NewGame();
 }