Hello Unity,
I’m new to scripting and need to add multiple prefabs to my object pooler so I can have a variety of enemies. However, my object pooler only allows for one object.
Script below:
Any ideas on having my object pooler allow more than one object would be much appreciated. Thanks!

Well just create a second variable like:
public GameObject pooledObject2;
Then change the code inside start to:
for(int i = 0; i < pooledAmount; i+=2)
{
GameObject obj = (GameObject)Instantiate(pooledObject);
//and the two lines that follow
}
for(int i = 1; i < pooledAmount; i+=2)
{
GameObject obj = (GameObject)Instantiate(pooledObject2);
//same two lines you have added above
}
When changing the code like this, every second object inside your pool will be pooledObject2. From here on you should be able to figure out how to add more objects quite easily 