Ultimate Replay Scripting Reference
CubeSpawner Class |
A demo script used in the stress test scene which spawns a large number of cubes.
Inheritance Hierarchy
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
Name | Description | |
---|---|---|
CubeSpawner | Initializes a new instance of the CubeSpawner class |
Methods
Fields
Name | Description | |
---|---|---|
explosiveForce |
The amount of force that is initially given to the spawning cubes.
| |
spawnAmount |
The amount of objects to spawn into the scene.
| |
spawnCubes |
An array of prefabs used to randomly spawn objects.
| |
spawnHeight |
The maximum height that an object can be spawned from the center.
| |
spawnRange |
The maximum distance that an object can be spawned from the center.
|
See Also