![]() |
Platformer Pro
2.3.2
A platform game kit for Unity.
|
Used to store enemy state. More...
Public Attributes | |
int | health |
The health of the enemy. More... | |
float | invulnerableTimer |
If the enemy is invulnerable store remaining time. More... | |
EnemyState | state |
Enemy state. More... | |
int | currentFacingDirection |
Facing direction. More... | |
Vector3 | position |
Enemy position. More... | |
Vector3 | velocity |
Enemy velocity. More... | |
string | aiData |
Extra data for the AI to process. More... | |
Used to store enemy state.
string PlatformerPro.EnemyPersistenceData.aiData |
Extra data for the AI to process.
int PlatformerPro.EnemyPersistenceData.currentFacingDirection |
Facing direction.
int PlatformerPro.EnemyPersistenceData.health |
The health of the enemy.
float PlatformerPro.EnemyPersistenceData.invulnerableTimer |
If the enemy is invulnerable store remaining time.
Vector3 PlatformerPro.EnemyPersistenceData.position |
Enemy position.
EnemyState PlatformerPro.EnemyPersistenceData.state |
Enemy state.
Vector3 PlatformerPro.EnemyPersistenceData.velocity |
Enemy velocity.