OptionsHandler Delegate

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

public delegate void OptionsHandler(OptionSet options);

Remarks

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.

Parameters

Parameter Description
OptionSet options The OptionSet that has been delivered.

See Also

Source

Defined in YarnSpinner/Dialogue.cs, line 396.