Extras

These scripts are included in the Runtime Spawner Samples and can be used if you wish for your own projects (or as a starting point for your own custom AI behaviours).

DemoController

A fairly comprehensive example of how to interact with the various systems in the Runtime Spawner. Provides the Example UI in the sample scenes.

CharController

A simple character controller script that provides camera-relative movement (similar to GTA etc). Uses the built in Character Controller provided by Unity.

AI Wander

A simple component that will make an AI character wander to random positions on the navmesh once spawned. Useful for animals, pedestrians and other ambient AI objects.

AI Chase

A simple component that will make an AI character chase a specific target. Useful for hostile animals, creatures (zombies!) and melee enemies.

Start Runtime Spawner

This is a very simple script that will start a Runtime Spawner from script. You can find it used in example 5. API Example - Manual Start

This helper script is used by the Navmesh Policy system to defer activation of NavmeshAgents after spawning if a valid navmesh is not found in the object location. This script will automatically get added to entries if the spawner does not find a valid navmesh (for example when streaming scenes or using dynamic navmesh generation).

Last updated