Hi, I have a spawn object in my scene which spawns enemies when the player is nearby, and it uses object pooling, so it makes the gameobject active when the player comes near.
Lets say I spawn more then 1 enemies…
How can I know which id from the list I killed so I can set it to active false?
Thank you.