private void confirmSelection() { if (_currentConverseStatus != ConversationStatus.SELECTION) { return; } NPCSelection selection = npcSelections[currentSelection]; npcConversation = selection.conversation; if (npcConversation != null) { npcConversation.ResetIndex(); } selectionBox.gameObject.SetActive(false); _currentConverseStatus = ConversationStatus.EMPTY; OnInteraction(); }
public void OnNPCSelection(int direction) { NPCSelection?.Invoke(direction); }