The Swamp scene spawns random demons in a spooky setting. Pan around and rollover the demons with the mouse to keep them away!
This sample shows how to:
- Spawn prefabs with their own FSMs.
- Control the camera with mouse Actions.
- Choreograph gameplay with a Director FSM.
There are 4 FSMs in the Swamp scene:
- MainCamera - Controls the camera.
- Demon - A simple prefab demon.
- DemonManager - Creates random demons in the scene.
- Director - Controls the spawn rate and number of demons over time.