A UI object that represents a selectable choice.
Namespace: Esper.FeelSpeak.UI.UGUI Inherits from: MonoBehaviour Type: class
Esper.FeelSpeak.UI.UGUI
MonoBehaviour
class
public
button
Button
The button component.
label
TextMeshProUGUI
The label that displays the choice text.
choice
Choice?
The choice data.
protected
Start()
void
Subscribes to locale change events.
private
OnDestroy()
Unsubscribes from locale change events.
SetChoice(Choice)
Sets the choice data and configures the UI components.
Refresh()
Updates the UI objects with current choice data.
OnLocaleChanged(UnityEngine.Localization.Locale)
Called when the locale changes to refresh the display.
Last updated 6 months ago