Hello there,
I've set up an array list on an Enemy Manager object, and when the enemy prefabs are spawned, they add to the list okay, but I can't get them to remove themselves from the list when they are destroyed.
My final aim is to have an array list of currently 'alive' enemies that I can go to, to send an event, rather than using Broadcast All.
How do I get them to be removed form the list when they are destroyed?
Many thanks.
J.