Represents a character in dialogue, handling name display and character sprite rendering for uGUI.
Namespace: Esper.FeelSpeak.UI Inherits from: DialogueSpeaker Type: class
Esper.FeelSpeak.UI
DialogueSpeaker
class
public
nameLabel
TextMeshProUGUI
The label that displays the speaker's name.
characterImage
Image
The image that displays the speaker character's sprite.
SetActive(Color?)
void
Sets the speaker as active, showing the name and applying active sprite coloring.
SetInactive(Color?)
Sets the speaker as inactive, hiding the name and applying inactive sprite coloring.
SetData(DialogueNode)
Sets the speaker data from a dialogue node and updates all visual elements.
UpdateElements()
Updates all visual elements including name display, text colors, and character sprites.
Last updated 4 months ago