A component that works as a name tag of a speaker with billboarding and localization support.
Namespace: Esper.FeelSpeak.UI.UGUI Inherits from: Billboarded Type: class
Esper.FeelSpeak.UI.UGUI
Billboarded
class
public
label
TextMeshProUGUI
The text label (hidden in inspector).
speaker
Speaker
The speaker to display the name for.
private
Awake()
void
Initializes the text label component from children.
Start()
Subscribes to locale changes and updates the name display.
OnDestroy()
Unsubscribes from locale change events.
UpdateName()
Updates the name tag display with speaker's name and optional text coloring.
OnLocaleChanged(Locale)
Handles locale changes by updating the name display.
Last updated 6 months ago