CustomizationSettings
A class in Root.Township, Alta.Customization.
Global settings asset for character customization: effects, default cosmetics and required default parts. Get it with GlobalSettings<CustomizationSettings>.Instance.
- Listed in Customization and screenshots
- Inherits or implements
GlobalSettings<CustomizationSettings> - Derived types
CustomizationSettings - Attributes
CreateAssetMenu,GlobalSettings
Constructors
| Member | What it is |
|---|---|
CustomizationSettings() | Use ScriptableObject.CreateInstance instead of new; Unity loads the saved ones from assets. |
Fields
5 private and internal fields
| Member | What it is |
|---|---|
private PooledObjectDefinition addedEffect | Backing field for AddedEffect. |
private List<CustomizationCategory> debugCategoryWhitelist | Backing field for DebugCategoryWhitelist. |
private PlayerCosmeticDefinitionSet defaultCosmetics | Backing field for DefaultCosmetics. |
private PooledObjectDefinition disappearEffect | Backing field for DisappearEffect. |
private List<DefaultCosmeticInfo> requiredDefaults | Backing field for RequiredDefaults. |
Properties
| Member | What it is |
|---|---|
PooledObjectDefinition AddedEffect { get; } | Pooled effect for adding an item. |
IEnumerable<ICustomizationCategory> DebugCategoryWhitelist { get; } | Categories to keep when saving in the editor, for debugging. |
PlayerCosmeticDefinitionSet DefaultCosmetics { get; } | Set of cosmetics everyone has by default. |
PooledObjectDefinition DisappearEffect { get; } | Pooled effect for an item disappearing. |
IEnumerable<DefaultCosmeticInfo> RequiredDefaults { get; } | Default parts that must always be present. |
bool UseCategoryWhitelistWhenSaving { get; } | True only in the editor when the debug whitelist has entries. |