public void ShowSentenceMenu() { foreach (Transform menu in SentencesMenu.GetComponent <ItemMenu>().ItemList) { if (menu.TryGetComponent(out Sentence sentence)) { sentence.UpdateLists(); } } MenuSystem.LoadMenu(SentencesMenu.GetComponent <ItemMenu>().MenuName); }
public void LoadParentMenu() { menuSystem.LoadMenu(ParentMenu); }
public void ShowChoiceMenu() { MenuSystem.LoadMenu(ChoicesMenu.GetComponent <ItemMenu>().MenuName); }
public void LoadCharacterStatesMenu() { menuSystem.LoadMenu(CharacterStateMenu.name); }