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.
- Listed in Global namespace: M to O
- Inherits or implements
GlobalSettings<NameBoardsSettings> - Derived types
NameBoardsSettings - Attributes
GlobalSettings,CreateAssetMenu
Constructors
| Member | What it is |
|---|---|
NameBoardsSettings() | Use ScriptableObject.CreateInstance instead of new; Unity loads the saved ones from assets. |
Fields
3 private and internal fields
| Member | What it is |
|---|---|
private float distanceFromHead | Backing field for DistanceFromHead. |
private PooledObjectDefinition[] memberStatusShield | Backing field for MemberStatusShield. |
private PooledObjectDefinition nameBoardDefinition | Backing field for NameBoardDefinition. |
Properties
| Member | What 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: