Choice UGUI

✅ ChoiceUGUI Class

A UI object that represents a selectable choice.

Namespace: Esper.FeelSpeak.UI.UGUI Inherits from: MonoBehaviour Type: class


📦 Fields

Access
Field
Type
Description

public

button

Button

The button component.

public

label

TextMeshProUGUI

The label that displays the choice text.

public

choice

Choice?

The choice data.


🧰 Methods

Access
Method
Returns
Description

public

SetChoice(Choice)

void

Sets the choice data and configures the UI components.

public

Refresh()

void

Updates the UI objects with current choice data.

Last updated