A class in Root.Township, Alta.Customization.
Maps armor slots to the impact detectors they cover, so setting a slot's armor updates every detector for that body part.
Constructors
| Member | What it is |
|---|
ArmorManager() | Unity makes components itself; use AddComponent or spawn a prefab instead of new. |
Fields
2 private and internal fields
Methods
| Member | What it is |
|---|
void Set(TSlot slot, ArmorDefinition armor) | Sets the armor on every detector paired with the slot. Unknown slots are ignored. |
1 private and internal method
| Member | What it is |
|---|
private void Awake() | Builds the slot lookup from slotPairings. |