Skip to main content

EquipmentReference

A class in Root.Township, Alta.Impact.

A component on a body part that holds the armour equipped there. ArmorManager sets it, and ImpactDetector and HeatPoint read it.

Constructors​

MemberWhat it is
EquipmentReference()Unity makes components itself; use AddComponent or spawn a prefab instead of new.

Fields​

1 private and internal field
MemberWhat it is
private ArmorDefinition armorBacking field for Equipment.

Properties​

MemberWhat it is
ArmorDefinition Equipment { get; set; }The ArmorDefinition worn on this part, or null. Setting it raises Changed.

Events​

MemberWhat it is
event EquipmentReference.EquipmentChangedHandler ChangedRaised with the new armour whenever Equipment is set. Setting it with no listener throws.

Used in​

Members of other types that take, return or hold a EquipmentReference: