public void OnClickNextLevel() { GameObject.Find("btnNextLevel").GetComponent <Button>().interactable = false; var level = 2; //TODO: find gamestate! Bootstrap.ClearGame(); Bootstrap.NewGame(level); }
public void OnClickRestart() { Bootstrap.ClearGame(); Bootstrap.NewGame(); }