Method in Dialogue
Signals to the Dialogue that the user has selected a specified Option .
public void SetSelectedOption(int selectedOptionID)
After the Dialogue delivers an OptionSet, this method must be called before Continue() is called.
The ID number that should be passed as the parameter to this method should be the ID field in the Option that represents the user's selection.
int selectedOptionID
int
The ID number of the Option that the user selected.
OptionsHandler: Represents the method that is called when the Dialogue delivers an OptionSet .
OptionSet: A set of Option s, sent from the Dialogue to the game.
Dialogue.Continue(): Starts, or continues, execution of the current Program.
Last updated 3 years ago
Was this helpful?