Name Tag

🏷️ NameTag Class

A component that works as a name tag of a speaker with billboarding.

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


📦 Fields

Access
Field
Type
Description

public

label

TextMeshProUGUI

The text label (hidden in inspector).

public

speaker

Speaker

The speaker to display the name for.


🧰 Methods

Access
Method
Returns
Description

private

Awake()

void

Initializes the text label component from children.

private

Start()

void

Calls UpdateName().

public

UpdateName()

void

Updates the name tag display with speaker's name and optional text coloring.

Last updated