This site is for Yarn Spinner v1, and won't be updated. Go to the current site.

DialogueUI.onOptionsStart Field

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

public UnityEvent onOptionsStart

Remarks

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.

Source

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