public void LoadQuestRoom(int questNum) { Debug.Log("loadroom"); if (questNum == 1) { firstQuest.loadRoom(); } else if (questNum == 2) { secondQuest.loadRoom(); } else if (questNum == 3) { thirdQuest.loadRoom(); } }
public void loadQuestRoom() { Debug.Log("loadroom"); currentQuest.loadRoom(); }