Property | Type | Description | |
---|---|---|---|
animationController | Animator | ||
damageClip | AudioClip | ||
movement_speed | float | ||
parentSpawner | EnemySpawner | ||
scoreToGive | int | ||
startingHP | int |
Method | Description | |
---|---|---|
Update ( ) : void | ||
damage ( int damage, int playerNum ) : void |
Method | Description | |
---|---|---|
Get_Closest_Player ( Vector3 enemy_location ) : GameObject | ||
Start ( ) : void |
public damage ( int damage, int playerNum ) : void | ||
damage | int | |
playerNum | int | |
return | void |