Ball Spawner


BallSpawner is component of the KinectController-game object in KinectUserVisualizer-scene. It spawns balls or cubes at regular intervals, randomly around the user. The component is disabled by default.



Property:
Description:

Player Index

Index of the player, tracked by this component. 0 means the 1st player, 1 - the 2nd one, 2 - the 3rd one, etc.

Ball Prefab

Prefab used to instantiate balls in the scene.

Cube Prefab

Prefab used to instantiate cubes in the scene.

Number of Objects

How many objects do we want to spawn.