Skip to main content

CosmeticSetDefinition

A class in Root.Township, Alta.Customization.

A purchasable set of cosmetic items sold together. Asset created from Township/Cosmetic Set Definition.

Constructors​

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

Fields​

2 private and internal fields
MemberWhat it is
private List<Purchasable> itemsBacking field for Items.
private ItemSetType setTypeBacking field for SetType.

Properties​

MemberWhat 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: