By default a user's Name Badge will contain a AvatarNameTagAssigner connected to [[Component:TextRenderer|TextRenderer]], [[Component:TextUnlitMaterial|TextUnlitMaterial]], and a [[Component:ContactLink|ContactLink]]. The user's username will be written to the TextRenderer, their default Name Badge colors will be written to the TextUnlitMaterial, and their UserId will be written to the ContactLink.
By default a user's [[Nameplate|Name Badge]] will contain a AvatarNameTagAssigner connected to [[Component:TextRenderer|TextRenderer]], [[Component:TextUnlitMaterial|TextUnlitMaterial]], and a [[Component:ContactLink|ContactLink]]. The user's username will be written to the TextRenderer, their default Name Badge colors will be written to the TextUnlitMaterial, and their UserId will be written to the ContactLink.
<!--T:6-->
<!--T:6-->
Revision as of 23:36, 23 June 2024
This article or section is a Stub. You can help the Resonite Wiki by expanding it.
Component image
AvatarNameTagAssigner component as seen in the Scene Inspector
The AvatarNameTagAssigner is responsible for setting the nametags' text, color, and the ContactLink UserId.
When an avatar is dequipped the DequippedLabel contents will be written to the LabelTargets, by default the DequippedLabel is "---".
Examples
By default a user's Name Badge will contain a AvatarNameTagAssigner connected to TextRenderer, TextUnlitMaterial, and a ContactLink. The user's username will be written to the TextRenderer, their default Name Badge colors will be written to the TextUnlitMaterial, and their UserId will be written to the ContactLink.