C# Class EnemyHealthManager, Joyful

Inheritance: MonoBehaviour
Mostra 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_oe property

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

deathEffect public_oe property

public GameObject deathEffect
return GameObject

enemyHealth public_oe property

public int enemyHealth
return int

pointsOnDeath public_oe property

public int pointsOnDeath
return int

soundEffectsSource public_oe property

public AudioSource,UnityEngine soundEffectsSource
return UnityEngine.AudioSource