Property | Type | Description | |
---|---|---|---|
enemyID | int[] | ||
enemyQuantity | int[] | ||
layerMask | LayerMask | ||
noGameover | bool | ||
respawnEnemy | bool[] | ||
respawnTime | float[] | ||
showStartMessage | bool | ||
spawnOffset | Vector3[] | ||
spawnOnEnter | bool |
Method | Description | |
---|---|---|
AddEnemy ( ) : void | ||
BattleLost ( ) : IEnumerator | ||
CheckRespawn ( Enemy, e ) : void | ||
OnDrawGizmos ( ) : void | ||
OnTriggerEnter ( Collider collider ) : void | ||
OnTriggerExit ( Collider collider ) : void | ||
RemoveEnemy ( int index ) : void | ||
Start ( ) : void | ||
Update ( ) : void |
Method | Description | |
---|---|---|
GetRandomAdd ( ) : Vector3 | ||
GetSpawnCenter ( ) : Vector3 | ||
RespawnAfter ( int index, float time ) : IEnumerator | ||
SpawnAllEnemies ( ) : IEnumerator | ||
SpawnEnemy ( int index, Vector3 castOrigin ) : bool |
public OnTriggerEnter ( Collider collider ) : void | ||
collider | Collider | |
return | void |
public OnTriggerExit ( Collider collider ) : void | ||
collider | Collider | |
return | void |