C# Class EnemyAI

Inheritance: MonoBehaviour
Exibir arquivo Open project: GDCASU/Doom_Party Class Usage Examples

Public Properties

Property Type Description
animationController Animator
damageClip AudioClip
movement_speed float
parentSpawner EnemySpawner
scoreToGive int
startingHP int

Public Methods

Method Description
Update ( ) : void
damage ( int damage, int playerNum ) : void

Private Methods

Method Description
Get_Closest_Player ( Vector3 enemy_location ) : GameObject
Start ( ) : void

Method Details

Update() public method

public Update ( ) : void
return void

damage() public method

public damage ( int damage, int playerNum ) : void
damage int
playerNum int
return void

Property Details

animationController public_oe property

public Animator animationController
return Animator

damageClip public_oe property

public AudioClip damageClip
return AudioClip

movement_speed public_oe property

public float movement_speed
return float

parentSpawner public_oe property

public EnemySpawner parentSpawner
return EnemySpawner

scoreToGive public_oe property

public int scoreToGive
return int

startingHP public_oe property

public int startingHP
return int