DialogueUI.onOptionsEnd Field

A UnityEvent that is called when an option has been selected, and the optionButtons should be hidden.

public UnityEvent onOptionsEnd


This method is called after one of the optionButtons has been clicked, or the SelectOption(Int32) method has been called.

Use this method to hide all of the optionButtons, such as by disabling the object they’re contained in. (The DialogueUI won’t hide them for you individually.)


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