NameTag
namespace Griff.Scenes;
public sealed class NameTag : ComponentShows the name of the player an entity belongs to in its Text, e.g. on a child just above each player’s character, so everyone can see who’s who. Offline it shows Offline.
This is a component: its saved properties are on its component page.
Properties
Section titled “Properties”Offline
Section titled “Offline”public string? Offline { get; set; }What it shows when not in a network game. Empty shows nothing.
ShowScore
Section titled “ShowScore”public bool ShowScore { get; set; }The score after the name, e.g. “Sam 3”.
UseColor
Section titled “UseColor”public bool UseColor { get; set; }Paint the text the player’s color.