public void OnNodeSelected(int i) { ClearCharacters(); HideAllChoices(); dialogueBoxController.dialogueSide.SetActive(true); Debug.Log("Player chose option " + i); if (!dialogueController.GetCurrentNode().IsEndNode()) { dialogueController.ChooseResponse(i); } else { cutSceneController.CloseCutScene(); Debug.Log("Entering next chapter"); //GameController.Instance.NextChapter(); NextChapter(); } }
private void OnNodeSelected(int indexChosen) { Debug.Log("Chose: " + indexChosen); controller.ChooseResponse(indexChosen); }
private void OnNodeSelected(int indexChosen) { controller.ChooseResponse(indexChosen); }