LootValue
A class in Root.Township, the global namespace.
An item's loot value tier, as an asset. Items compare by its number, and it sets the tint of docks holding the item.
- Listed in Global namespace: I to L
- Inherits or implements
PopupScriptableObject, IComparable<LootValue> - Derived types
LootValue
Constructors
| Member | What it is |
|---|---|
LootValue() | Use ScriptableObject.CreateInstance instead of new; Unity loads the saved ones from assets. |
Fields
2 private and internal fields
Properties
| Member | What it is |
|---|---|
Color DockColorTint { get; } | Colour tint a dock shows when holding an item of this value. |
override string SubFolder { get; } | Asset sub folder for these assets (Items/). |
Methods
| Member | What it is |
|---|---|
static bool op_GreaterThan(LootValue valueA, LootValue ValueB) | True if the first value's number is higher. |
static bool op_LessThan(LootValue valueA, LootValue ValueB) | True if the first value's number is lower. |
Used in
Members of other types that take, return or hold a LootValue: