C# Class EnemyHealthManager, Joyful

Inheritance: MonoBehaviour
Show file Open project: GDCASU/Joyful Class Usage Examples

Public Properties

Property Type Description
deathClip UnityEngine.AudioClip[]
deathEffect GameObject
enemyHealth int
pointsOnDeath int
soundEffectsSource UnityEngine.AudioSource

Public Methods

Method Description
Start ( ) : void
Update ( ) : void
giveDamage ( int damageToGive ) : void

Method Details

Start() public method

public Start ( ) : void
return void

Update() public method

public Update ( ) : void
return void

giveDamage() public method

public giveDamage ( int damageToGive ) : void
damageToGive int
return void

Property Details

deathClip public property

public AudioClip[],UnityEngine deathClip
return UnityEngine.AudioClip[]

deathEffect public property

public GameObject deathEffect
return GameObject

enemyHealth public property

public int enemyHealth
return int

pointsOnDeath public property

public int pointsOnDeath
return int

soundEffectsSource public property

public AudioSource,UnityEngine soundEffectsSource
return UnityEngine.AudioSource