Enchantment
A class in Root.Township, Alta.Enchantments.
An enchantment asset: a list of bindings, each linking triggers to the effects they cause.
- Listed in Crafting and making
- Inherits or implements
HashedGeneralValue<Enchantment> - Derived types
Enchantment,Enchantment.Create - Nested types
Binding,Create
Constructors
| Member | What it is |
|---|---|
Enchantment() | Use ScriptableObject.CreateInstance instead of new; Unity loads the saved ones from assets. |
Fields
1 private and internal field
| Member | What it is |
|---|---|
private Enchantment.Binding[] bindings | Backing field for Bindings: each binding pairs triggers with the effects they fire. |
Properties
| Member | What it is |
|---|---|
Enchantment.Binding[] Bindings { get; } | The trigger and effect pairs that make up the enchantment. |
Used in
Members of other types that take, return or hold a Enchantment: