C# Class SpawnerEnemy, ProjetUnity

Inheritance: MonoBehaviour
Afficher le fichier Open project: MartinsDavid/ProjetUnity Class Usage Examples

Méthodes publiques

Свойство Type Description
BossEnemy GameObject
DistanceEnemy GameObject
Spawn bool
enemyLevel EnemyLevels
lifeTime int
numEnemy int
spawnType SpawnTypes
spawnedEnemy int
totalEnemy int
totalWaves int
waveTimer float

Méthodes publiques

Méthode Description
OnDrawGizmos ( ) : void
OnTriggerEnter2D ( Collider2D collider ) : void
Start ( ) : void
disableSpawner ( int sID ) : void
enableSpawner ( int sID ) : void
enableTrigger ( ) : void
killEnemy ( int sID ) : void

Private Methods

Méthode Description
SpawnUpdate ( ) : void
spawnEnemy ( ) : void

Method Details

OnDrawGizmos() public méthode

public OnDrawGizmos ( ) : void
Résultat void

OnTriggerEnter2D() public méthode

public OnTriggerEnter2D ( Collider2D collider ) : void
collider UnityEngine.Collider2D
Résultat void

Start() public méthode

public Start ( ) : void
Résultat void

disableSpawner() public méthode

public disableSpawner ( int sID ) : void
sID int
Résultat void

enableSpawner() public méthode

public enableSpawner ( int sID ) : void
sID int
Résultat void

enableTrigger() public méthode

public enableTrigger ( ) : void
Résultat void

killEnemy() public méthode

public killEnemy ( int sID ) : void
sID int
Résultat void

Property Details

BossEnemy public_oe property

public GameObject BossEnemy
Résultat GameObject

DistanceEnemy public_oe property

public GameObject DistanceEnemy
Résultat GameObject

Spawn public_oe property

public bool Spawn
Résultat bool

enemyLevel public_oe property

public EnemyLevels enemyLevel
Résultat EnemyLevels

lifeTime public_oe property

public int lifeTime
Résultat int

numEnemy public_oe property

public int numEnemy
Résultat int

spawnType public_oe property

public SpawnTypes spawnType
Résultat SpawnTypes

spawnedEnemy public_oe property

public int spawnedEnemy
Résultat int

totalEnemy public_oe property

public int totalEnemy
Résultat int

totalWaves public_oe property

public int totalWaves
Résultat int

waveTimer public_oe property

public float waveTimer
Résultat float