CosmeticSetDefinition
A class in Root.Township, Alta.Customization.
A purchasable set of cosmetic items sold together. Asset created from Township/Cosmetic Set Definition.
- Listed in Customization and screenshots
- Inherits or implements
Purchasable - Attributes
CreateAssetMenu
Constructors
| Member | What it is |
|---|---|
CosmeticSetDefinition() | Use ScriptableObject.CreateInstance instead of new; Unity loads the saved ones from assets. |
Fields
2 private and internal fields
| Member | What it is |
|---|---|
private List<Purchasable> items | Backing field for Items. |
private ItemSetType setType | Backing field for SetType. |
Properties
| Member | What it is |
|---|---|
List<Purchasable> Items { get; } | The purchasables in the set. |
ItemSetType SetType { get; set; } | What kind of item set this is. |
Used in
Members of other types that take, return or hold a CosmeticSetDefinition: