Platformer Pro  2.3.2
A platform game kit for Unity.
PlatformerPro.RespawnEventArgs Class Reference

Character event arguments. More...

Inheritance diagram for PlatformerPro.RespawnEventArgs:
PlatformerPro.CharacterEventArgs

Public Member Functions

 RespawnEventArgs (Character character, int playerId, string respawnPoint)
 Initializes a new instance of the PlatformerPro.RespawnEventArgs class. More...
 
- Public Member Functions inherited from PlatformerPro.CharacterEventArgs
 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...
 
- Properties inherited from PlatformerPro.CharacterEventArgs
Character Character [get, protected set]
 Gets or sets the character. More...
 
int PlayerId [get, protected set]
 What player number is this? More...
 

Detailed Description

Character event arguments.

Constructor & Destructor Documentation

◆ RespawnEventArgs()

PlatformerPro.RespawnEventArgs.RespawnEventArgs ( Character  character,
int  playerId,
string  respawnPoint 
)

Initializes a new instance of the PlatformerPro.RespawnEventArgs class.

Parameters
characterCharacter.
playerIdId of the player (0 for player 1).
respawnPointRespawn point character is spawning at.

Property Documentation

◆ RespawnPoint

string PlatformerPro.RespawnEventArgs.RespawnPoint
getprotected set

At what respawn point are we respawning.

The player identifier.


The documentation for this class was generated from the following file: