I’m trying to modify the following so that multiple enemy types spawn in a single wave rather than just one.
I think I need to use an array or list but not sure how to implement this. This is on a ScriptableObject which isn’t attached to a GameObject so not sure how to go about this.
public GameObject GetEnemyPrefab() { return enemyPrefab; }
Can anyone point me in the right direction?