Dialogue Speaker UGUI
🎭 DialogueSpeakerUGUI Class
Represents a character in dialogue, handling name display and character sprite rendering for uGUI.
Namespace:
Esper.FeelSpeak.UIInherits from:DialogueSpeakerType:class
📦 Fields
public
nameLabel
TextMeshProUGUI
The label that displays the speaker's name.
public
characterImage
Image
The image that displays the speaker character's sprite.
🧰 Methods
public
SetActive(Color?)
void
Sets the speaker as active, showing the name and applying active sprite coloring.
public
SetInactive(Color?)
void
Sets the speaker as inactive, hiding the name and applying inactive sprite coloring.
public
SetData(DialogueNode)
void
Sets the speaker data from a dialogue node and updates all visual elements.
public
UpdateElements()
void
Updates all visual elements including name display, text colors, and character sprites.
Last updated