private void DisplayCurrentInkChoices() { for (int i = 0; i < _inkStory.currentChoices.Count; i++) { var choiceInstance = _inkStory.currentChoices[i]; int currChoiceIndex = i; _storyFeed.DisplayOptionLine(choiceInstance.text, () => { _firstAfterChoice = true; _inkStory.ChooseChoiceIndex(currChoiceIndex); }); } }
private void DisplayCurrentInkChoices() { for (int i = 0; i < _inkStory.currentChoices.Count; i++) { ChoiceInstance choiceInstance = _inkStory.currentChoices[i]; int currChoiceIndex = i; _storyFeed.DisplayOptionLine(choiceInstance.choiceText, () => { _storyFeed.ClearOptions(); _inkStory.ChooseChoiceIndex(currChoiceIndex); }); } }