I have a spawner class that spawns AI in a level. The Spawner tracks the amount of AI and adds them to a set.
However, when the AI is killed, I don’t know how to communicate to the spawner that spawned the AI to tell the spawner that it died.
Does anyone know how to communicate back to the class that spawned in the AI?