CubeSpawner Class

Ultimate Replay

CubeSpawner Class
A demo script used in the stress test scene which spawns a large number of cubes.
Inheritance Hierarchy
SystemObject  Object
    Component
      Behaviour
        MonoBehaviour
          UltimateReplay.DemoCubeSpawner

Namespace: UltimateReplay.Demo
Assembly: UltimateReplay (in UltimateReplay.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public class CubeSpawner : MonoBehaviour

The CubeSpawner type exposes the following members.

Constructors
  NameDescription
Public methodCubeSpawner
Initializes a new instance of the CubeSpawner class
Top
Methods
  NameDescription
Public methodStart
Called by Unity.
Top
Fields
  NameDescription
Public fieldexplosiveForce
The amount of force that is initially given to the spawning cubes.
Public fieldspawnAmount
The amount of objects to spawn into the scene.
Public fieldspawnCubes
An array of prefabs used to randomly spawn objects.
Public fieldspawnHeight
The maximum height that an object can be spawned from the center.
Public fieldspawnRange
The maximum distance that an object can be spawned from the center.
Top
See Also