![]() |
Platformer Pro
2.3.2
A platform game kit for Unity.
|
Trigger event arguments. More...
Public Member Functions | |
TriggerEventArgs (Trigger trigger, Character character, bool switchState) | |
Initializes a new instance of the PlatformerPro.CharacterEventArgs 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 | |
Trigger | Trigger [get, protected set] |
Gets or sets the trigger. More... | |
bool | SwitchState [get, protected set] |
Was the trigger not a switch (false), Switch in the off position (false), or switch in the On position (true). More... | |
![]() | |
Character | Character [get, protected set] |
Gets or sets the character. More... | |
int | PlayerId [get, protected set] |
What player number is this? More... | |
Trigger event arguments.
PlatformerPro.TriggerEventArgs.TriggerEventArgs | ( | Trigger | trigger, |
Character | character, | ||
bool | switchState | ||
) |
Initializes a new instance of the PlatformerPro.CharacterEventArgs class.
character | Character. |
switchState | If the character is a switch is it on or off. |
|
getprotected set |
Was the trigger not a switch (false), Switch in the off position (false), or switch in the On position (true).
|
getprotected set |
Gets or sets the trigger.
The character.