CustomizationStateSettings
A class in Root.Township, ATT.PlayerStates.
Settings for the character customization player state: the room prefab to spawn, where, and what happens when the player finishes.
- Listed in ATT, Features and other game namespaces
- Inherits or implements
PlayerStateSettings - Derived types
CustomizationStateSettings.Create - Nested types
Create
Constructors
| Member | What it is |
|---|---|
CustomizationStateSettings() | Use ScriptableObject.CreateInstance instead of new; Unity loads the saved ones from assets. |
Fields
6 private and internal fields
| Member | What it is |
|---|---|
private CosmeticCustomizationManager customizationRoomPrefab | Backing field for CustomizationRoomPrefab, the character customization room that gets spawned. |
private float fadeInDuration | Backing field for FadeInDuration (5 seconds by default). |
private GameAction finishCustomizationAction | Backing field for FinishCustomizationAction, the game action run when customization is finished. |
private bool isSkippingCustomization | Backing field for IsSkippingCustomization. When set, the customization room is skipped. |
private Vector3 roomPosition | Backing field for RoomPosition, where the room is placed. |
private Vector3 roomRotation | Backing field for RoomRotation, the room's rotation as Euler angles. |
Properties
| Member | What it is |
|---|---|
CosmeticCustomizationManager CustomizationRoomPrefab { get; } | The customization room prefab. |
float FadeInDuration { get; } | Seconds to fade in. |
GameAction FinishCustomizationAction { get; } | Game action run when customization is finished. |
bool IsSkippingCustomization { get; } | When true, customization is skipped. |
Vector3 RoomPosition { get; } | Where the room is placed. |
Vector3 RoomRotation { get; } | Room rotation as Euler angles. |
override Type StateType { get; } | CustomizationState. |
Used in
Members of other types that take, return or hold a CustomizationStateSettings: