C# Class enemy, 1gam-dungeon

Inheritance: MonoBehaviour
Mostra file Open project: OneGameAMonth/1gam-dungeon Class Usage Examples

Public Properties

Property Type Description
fireball_prefab GameObject
loot_prefabs GameObject[]

Public Methods

Method Description
FixedUpdate ( ) : void
Start ( ) : void
Update ( ) : void
receive_damage ( int amount ) : void

Private Methods

Method Description
attack ( ) : IEnumerator
death ( ) : IEnumerator

Method Details

FixedUpdate() public method

public FixedUpdate ( ) : void
return void

Start() public method

public Start ( ) : void
return void

Update() public method

public Update ( ) : void
return void

receive_damage() public method

public receive_damage ( int amount ) : void
amount int
return void

Property Details

fireball_prefab public_oe property

public GameObject fireball_prefab
return GameObject

loot_prefabs public_oe property

public GameObject[] loot_prefabs
return GameObject[]