OptionsHandler Delegate

Represents the method that is called when the Dialogue delivers an OptionSet.

public delegate void OptionsHandler(OptionSet options);


Unlike Dialogue.LineHandler, Dialogue.OptionsHandler does not return a Dialogue.HandlerExecutionType to signal that the Dialogue should suspend execution. This is because the Dialogue will always need to wait for the user to make a selection before execution can resume.


Parameter Description
OptionSet options The OptionSet that has been delivered.

See Also


Defined in YarnSpinner/Dialogue.cs, line 396.