Citizen Spawner

Christiane Snyder

Create a new C# script name “Citizen Spawner” and attach it to the EventManager. This script will call the functions available in MapNav to find locations to spawn a running robot at the start of the experience and when a running robot is destroyed.

Update RunningTarget script so that every time a small robot destroys itself, it sends an event to the citizen spawner to create more robots: