C# Class EnemySpawner

Inheritance: MonoBehaviour
ファイルを表示 Open project: GDCASU/Doom_Party Class Usage Examples

Public Properties

Property Type Description
enemyPrefab GameObject
health int
spawnClip AudioClip
spawnTime float

Public Methods

Method Description
Spawn ( ) : void

Spawn an instance of the enemy.

TakeDamage ( int damage ) : void

Takes the damage.

Method Details

Spawn() public method

Spawn an instance of the enemy.
public Spawn ( ) : void
return void

TakeDamage() public method

Takes the damage.
public TakeDamage ( int damage ) : void
damage int Damage.
return void

Property Details

enemyPrefab public_oe property

public GameObject enemyPrefab
return GameObject

health public_oe property

public int health
return int

spawnClip public_oe property

public AudioClip spawnClip
return AudioClip

spawnTime public_oe property

public float spawnTime
return float