3D Dungeon Crawler
Loading...
Searching...
No Matches
EnemySpawner Class Reference
Inheritance diagram for EnemySpawner:

Public Types

enum  SpawnMethod { RoundRobin , Random }
 

Public Attributes

int numberOfEnemiesToSpawn = 10
 
float spawnDelay = 1f
 
List< GameObject > enemyPrefabs = new()
 
ObjectPool< GameObject > _enemyPool
 
SpawnMethod enemySpawnMethod = SpawnMethod.RoundRobin
 
LoadDatabase database
 
ScalingScriptableObject scaler
 
int floorCounter
 
LayerMask layerMask = 11
 
bool ContinousSpawning = false
 

Member Enumeration Documentation

◆ SpawnMethod

Enumerator
RoundRobin 
Random 

Member Data Documentation

◆ _enemyPool

ObjectPool<GameObject> EnemySpawner._enemyPool

◆ ContinousSpawning

bool EnemySpawner.ContinousSpawning = false

◆ database

LoadDatabase EnemySpawner.database

◆ enemyPrefabs

List<GameObject> EnemySpawner.enemyPrefabs = new()

◆ enemySpawnMethod

SpawnMethod EnemySpawner.enemySpawnMethod = SpawnMethod.RoundRobin

◆ floorCounter

int EnemySpawner.floorCounter

◆ layerMask

LayerMask EnemySpawner.layerMask = 11

◆ numberOfEnemiesToSpawn

int EnemySpawner.numberOfEnemiesToSpawn = 10

◆ scaler

ScalingScriptableObject EnemySpawner.scaler

◆ spawnDelay

float EnemySpawner.spawnDelay = 1f

The documentation for this class was generated from the following file: