![]() |
Platformer Pro
2.3.2
A platform game kit for Unity.
|
Public Member Functions | |
PurchaseFailEventArgs (string type, Character character, PurchaseFailReason reason) | |
Initializes a new instance of the PlatformerPro.PurchaseFailEventArgs class assuming the amount = 1. More... | |
![]() | |
ItemEventArgs (string type, Character character) | |
Initializes a new instance of the PlatformerPro.ItemEventArgs class assuming the amount = 1. More... | |
ItemEventArgs (string type, int amount, Character character) | |
Initializes a new instance of the PlatformerPro.ItemEventArgs class. More... | |
![]() | |
CharacterEventArgs () | |
Initializes a new instance of the PlatformerPro.CharacterEventArgs class. More... | |
CharacterEventArgs (Character character) | |
Initializes a new instance of the PlatformerPro.CharacterEventArgs class. More... | |
CharacterEventArgs (Character character, int playerId) | |
Initializes a new instance of the PlatformerPro.CharacterEventArgs class. More... | |
void | Update (Character character) |
Updates the event args with the given character More... | |
Properties | |
PurchaseFailReason | Reason [get, protected set] |
Gets the reason purchase failed. More... | |
![]() | |
string | Type [get, protected set] |
Gets the item type. More... | |
virtual int | Amount [get, protected set] |
Gets the number of items collected. More... | |
virtual int | IntValue [get, protected set] |
Gets or sets the int value. More... | |
![]() | |
Character | Character [get, protected set] |
Gets or sets the character. More... | |
int | PlayerId [get, protected set] |
What player number is this? More... | |
Item event arguments.
PlatformerPro.PurchaseFailEventArgs.PurchaseFailEventArgs | ( | string | type, |
Character | character, | ||
PurchaseFailReason | reason | ||
) |
Initializes a new instance of the PlatformerPro.PurchaseFailEventArgs class assuming the amount = 1.
type | Type. |
character | Character. |
reason | Why the purchase failed. |
|
getprotected set |
Gets the reason purchase failed.