Skip to content

Commit

Permalink
Rename .choiceText to .text
Browse files Browse the repository at this point in the history
  • Loading branch information
joethephish committed Jun 5, 2024
1 parent 6a0353c commit 063b7d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ To compile the ink, either export from Inky (File -> Export to JSON). Or if you'
Debug.Log(story.Continue());

// 3) Display story.currentChoices list, allow player to choose one
Debug.Log(_story.currentChoices[0].choiceText);
Debug.Log(_story.currentChoices[0].text);
_story.ChooseChoiceIndex(0);

// 4) Back to 2
Expand Down

0 comments on commit 063b7d7

Please sign in to comment.