Egg Spawner


EggSpawner is component of the BallSpawner-game object in DepthColliderDemo2D-scene, as well as the EggSpawner-game object in DepthColliderDemo3D-scene. It spawns the specified prefab (balls or eggs) regularly, over the current position of the specified user.



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.

Egg Prefab

Prefab (model and components) used to instantiate eggs in the scene.