Spawnable

The Spawnable monobehaviour allows spawning and despawning of other Prefabs based on Prerequisite Conditions being satisfied.

Usage

Spawnables are the way AnyRPG deals with the need for physical objects in the world to appear or disappear as the game story progresses. There is no limitation to what can be spawned, from small things like shrubs or trees, up to entire buildings.

Properties

Dependencies

  • Spawnable does not have any dependencies, and can be placed on a Prefab with no other components.

Last updated