![]() |
Platformer Pro
2.3.2
A platform game kit for Unity.
|
Listens to Equip/Unequip events and More...
Public Attributes | |
EquipResponse[] | responses |
How to repsond to matching items being equipped. More... | |
Protected Member Functions | |
virtual void | PostInit () |
Called from Start to initialise references. More... | |
virtual void | HandleItemEquipped (object sender, ItemEventArgs e) |
Handles an item being equipped. More... | |
virtual void | HandleItemUnequipped (object sender, ItemEventArgs e) |
Handles an item being unequipped. More... | |
virtual void | DoAction (EquipResponse response, bool isUnequip) |
Does the action. More... | |
Protected Attributes | |
EquipmentManager | equipmentManager |
The equipment manager. More... | |
Additional Inherited Members | |
![]() | |
virtual void | Validate (PlatformerProMonoBehaviour myTarget) |
Override this method if you want to provide custom validation. The actual code should be surrounded by the if UNITY_EDITOR / endif directive. More... | |
![]() | |
virtual string | Header [get] |
Gets the header string used to describe the component. More... | |
virtual string | DocLink [get] |
Gets a link to documentation site. More... | |
virtual string | VideoLink [get] |
Gets a link to a youtube video. More... | |
virtual string | Deprecated [get] |
If non-null this component is deprecated. The string shows a message indicating how it should be replaced. More... | |
Listens to Equip/Unequip events and
|
protectedvirtual |
Does the action.
response | Response data. |
isUnequip | If set to true this is an unequip. |
|
protectedvirtual |
Handles an item being equipped.
sender | Sender. |
e | Event args. |
|
protectedvirtual |
Handles an item being unequipped.
sender | Sender. |
e | Event args. |
|
protectedvirtual |
Called from Start to initialise references.
|
protected |
The equipment manager.
EquipResponse [] PlatformerPro.EquipResponder.responses |
How to repsond to matching items being equipped.