![]() |
Platformer Pro
2.3.2
A platform game kit for Unity.
|
Attack event arguments. More...
Public Member Functions | |
AttackEventArgs (Character character, BasicAttackData attackData) | |
Initializes a new instance of the PlatformerPro.CharacterEventArgs class. More... | |
virtual void | UpdateAttackStartedArgs (string name) |
Updates the attack started arguments. More... | |
override string | ToString () |
![]() | |
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 | Name [get, protected set] |
Gets or sets the name. More... | |
![]() | |
Character | Character [get, protected set] |
Gets or sets the character. More... | |
int | PlayerId [get, protected set] |
What player number is this? More... | |
Attack event arguments.
PlatformerPro.AttackEventArgs.AttackEventArgs | ( | Character | character, |
BasicAttackData | attackData | ||
) |
Initializes a new instance of the PlatformerPro.CharacterEventArgs class.
character | Character. |
override string PlatformerPro.AttackEventArgs.ToString | ( | ) |
|
virtual |
Updates the attack started arguments.
attackData | Attack data. |
|
getprotected set |
Gets or sets the name.