DialogueUI.onOptionsStart Field

A UnityEvent that is called when an OptionSet has been displayed to the user.

public UnityEvent onOptionsStart


Before this method is called, the Buttons in optionButtons are enabled or disabled (depending on how many options there are), and the Text or TMPro.TextMeshProUGUI is updated with the correct text.

Use this method to ensure that the active optionButtonss are visible, such as by enabling the object that they’re contained in.


Defined in Unity/Assets/YarnSpinner/Scripts/DialogueUI.cs, line 207.