public void displayChangeDifficulty() { GUI.Box(new Rect(Screen.width / 2 - 200, Screen.height / 2 - 200, 400, 400), "Choose your difficulty"); if (GUI.Button(new Rect(Screen.width / 2 - 100, Screen.height / 2 - 100, 200, 25), "Easy")) { gm.changeDifficulty("Easy"); changeDifficulty = false; gs.setStarted(true); print(gs.getStart()); } if (GUI.Button(new Rect(Screen.width / 2 - 100, Screen.height / 2 - 50, 200, 25), "Medium")) { gm.changeDifficulty("Medium"); changeDifficulty = false; gs.setStarted(true); } if (GUI.Button(new Rect(Screen.width / 2 - 100, Screen.height / 2, 200, 25), "Hard")) { gm.changeDifficulty("Hard"); changeDifficulty = false; gs.setStarted(true); } }