Item event arguments.
More...
◆ ItemEventArgs() [1/2]
PlatformerPro.ItemEventArgs.ItemEventArgs |
( |
string |
type, |
|
|
Character |
character |
|
) |
| |
Initializes a new instance of the PlatformerPro.ItemEventArgs class assuming the amount = 1.
- Parameters
-
type | Type. |
amount | The number of items collected. |
character | Character. |
totalAmount | Total Number of items of this type the player has. |
◆ ItemEventArgs() [2/2]
PlatformerPro.ItemEventArgs.ItemEventArgs |
( |
string |
type, |
|
|
int |
amount, |
|
|
Character |
character |
|
) |
| |
Initializes a new instance of the PlatformerPro.ItemEventArgs class.
- Parameters
-
type | Type. |
amount | The number of items collected. |
character | Character. |
totalAmount | Total Number of items of this type the player has. |
◆ Amount
virtual int PlatformerPro.ItemEventArgs.Amount |
|
getprotected set |
Gets the number of items collected.
◆ IntValue
virtual int PlatformerPro.ItemEventArgs.IntValue |
|
getprotected set |
Gets or sets the int value.
The previous scene.
◆ Type
string PlatformerPro.ItemEventArgs.Type |
|
getprotected set |
The documentation for this class was generated from the following file:
- D:/Projects/platformer-pro-2019.3/Assets/PlatformerPro/Scripts/EventSystem/EventArgs/ItemEventArgs.cs