![]() |
Platformer Pro
2.3.2
A platform game kit for Unity.
|
Character event arguments. More...
Public Member Functions | |
RespawnEventArgs (Character character, int playerId, string respawnPoint) | |
Initializes a new instance of the PlatformerPro.RespawnEventArgs 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 | |
string | RespawnPoint [get, protected set] |
At what respawn point are we respawning. More... | |
![]() | |
Character | Character [get, protected set] |
Gets or sets the character. More... | |
int | PlayerId [get, protected set] |
What player number is this? More... | |
Character event arguments.
PlatformerPro.RespawnEventArgs.RespawnEventArgs | ( | Character | character, |
int | playerId, | ||
string | respawnPoint | ||
) |
Initializes a new instance of the PlatformerPro.RespawnEventArgs class.
character | Character. |
playerId | Id of the player (0 for player 1). |
respawnPoint | Respawn point character is spawning at. |
|
getprotected set |
At what respawn point are we respawning.
The player identifier.