C# Class EnemySpawner

Inheritance: MonoBehaviour
Afficher le fichier Open project: GDCASU/Doom_Party Class Usage Examples

Méthodes publiques

Свойство Type Description
enemyPrefab GameObject
health int
spawnClip AudioClip
spawnTime float

Méthodes publiques

Méthode Description
Spawn ( ) : void

Spawn an instance of the enemy.

TakeDamage ( int damage ) : void

Takes the damage.

Method Details

Spawn() public méthode

Spawn an instance of the enemy.
public Spawn ( ) : void
Résultat void

TakeDamage() public méthode

Takes the damage.
public TakeDamage ( int damage ) : void
damage int Damage.
Résultat void

Property Details

enemyPrefab public_oe property

public GameObject enemyPrefab
Résultat GameObject

health public_oe property

public int health
Résultat int

spawnClip public_oe property

public AudioClip spawnClip
Résultat AudioClip

spawnTime public_oe property

public float spawnTime
Résultat float