Skip to main content

NameBoardsSettings

A class in Root.Township, the global namespace.

Global settings for the name boards shown above players' heads. Get it with GlobalSettings<NameBoardsSettings>.Instance.

Constructors​

MemberWhat it is
NameBoardsSettings()Use ScriptableObject.CreateInstance instead of new; Unity loads the saved ones from assets.

Fields​

3 private and internal fields
MemberWhat it is
private float distanceFromHeadBacking field for DistanceFromHead.
private PooledObjectDefinition[] memberStatusShieldBacking field for MemberStatusShield.
private PooledObjectDefinition nameBoardDefinitionBacking field for NameBoardDefinition.

Properties​

MemberWhat it is
float DistanceFromHead { get; }How far above the head the name board sits.
PooledObjectDefinition[] MemberStatusShield { get; }Pooled shield visuals, one per PlayerSubscriberStatus value.
PooledObjectDefinition NameBoardDefinition { get; }The pooled object used for a name board.

Used in​

Members of other types that take, return or hold a NameBoardsSettings: