PlayerNameLabel.component
This package holds more than this page lists. See all of its files in its world.
README.md
PlayerNameLabel
Drives this entity's Text3D with the owning player's name, read from the nearest ancestor PlayerAvatar's synced displayName so every peer renders the same name without a local registry lookup. The label re-rasterises when the display name changes, and in play it hides itself on the local player's own avatar, since name labels exist so other players are identifiable. A label shows a name or nothing: an avatar with no PlayerAvatar (a stock avatar placed as a non-player character) or one whose displayName is empty has its label's text emptied and the label hidden.
Location: src/lua/lib/components/PlayerNameLabel.component