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

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...
 

Detailed Description

Used to store enemy state.

Member Data Documentation

◆ aiData

string PlatformerPro.EnemyPersistenceData.aiData

Extra data for the AI to process.

◆ currentFacingDirection

int PlatformerPro.EnemyPersistenceData.currentFacingDirection

Facing direction.

◆ health

int PlatformerPro.EnemyPersistenceData.health

The health of the enemy.

◆ invulnerableTimer

float PlatformerPro.EnemyPersistenceData.invulnerableTimer

If the enemy is invulnerable store remaining time.

◆ position

Vector3 PlatformerPro.EnemyPersistenceData.position

Enemy position.

◆ state

EnemyState PlatformerPro.EnemyPersistenceData.state

Enemy state.

◆ velocity

Vector3 PlatformerPro.EnemyPersistenceData.velocity

Enemy velocity.


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