DialogueUI.SelectOption Method
Signals that the user has selected an option.
public void SelectOption(int optionID)
Remarks
This method is called by the Button
s in the optionButtons
list when clicked.
If you prefer, you can also call this method directly.
Parameters
Parameter | Description |
---|---|
Int32 optionID |
The ID of the OptionSet.Option that was selected. |
Source
Defined in Unity/Assets/YarnSpinner/Scripts/DialogueUI.cs, line 462.