![]() |
Platformer Pro
2.3.2
A platform game kit for Unity.
|
Shows the item equipped to a given slot for a given player. More...
Public Attributes | |
string | slot |
Slot to show. More... | |
int | playerId = -1 |
The player identifier. More... | |
Image | itemImage |
The image component used to show equipped item. More... | |
GameObject | nothingEquippedGo |
If non-null this GO will be disabled when an item is equipped and enabled when no item is equipped. More... | |
Protected Member Functions | |
virtual void | Init () |
Init this instance. More... | |
virtual void | GetCharacter () |
Gets a character ref from a loader. More... | |
virtual void | HandleCharacterLoaded (object sender, CharacterEventArgs e) |
Handles character loaded by assigning equipment manager. More... | |
virtual void | DoDestroy () |
Object destroyed, clear event listeners. More... | |
virtual void | HanldeItemEquipped (object sender, ItemEventArgs e) |
Hanldes an item being equipped. More... | |
virtual void | HanldeItemUnequipped (object sender, ItemEventArgs e) |
Hanldes an item being unequipped. More... | |
Properties | |
override string | Header [get] |
Gets the header. 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... | |
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... | |
Shows the item equipped to a given slot for a given player.
|
protectedvirtual |
Object destroyed, clear event listeners.
|
protectedvirtual |
Gets a character ref from a loader.
|
protectedvirtual |
Handles character loaded by assigning equipment manager.
sender | Sender. |
e | E. |
|
protectedvirtual |
Hanldes an item being equipped.
sender | Sender. |
e | E. |
|
protectedvirtual |
Hanldes an item being unequipped.
sender | Sender. |
e | E. |
|
protectedvirtual |
Init this instance.
Image PlatformerPro.UIEquipmentSlotView.itemImage |
The image component used to show equipped item.
GameObject PlatformerPro.UIEquipmentSlotView.nothingEquippedGo |
If non-null this GO will be disabled when an item is equipped and enabled when no item is equipped.
int PlatformerPro.UIEquipmentSlotView.playerId = -1 |
The player identifier.
string PlatformerPro.UIEquipmentSlotView.slot |
Slot to show.
|
get |
Gets the header.
The header.