function in EnemyFactory
Last updated 3 years ago
public GameObject GetEnemyPrefab(string enemyType);
GameObject - Returns a Prefab given an enemy type
Returns dictionary of enemy prefabs. Strings are enemy type, and GameObject are enemy Prefabs.
enemyType
Type of enemy you want to get Prefab of