|
Aerodynamic Objects Core 2.0.0
|
An example spawner that will create objects that move with the flow. More...
Public Member Functions | |
| override void | Spawn () |
| Define the logic for creating/spawning the object. More... | |
Public Member Functions inherited from AerodynamicObjects.Utility.ObjectSpawner | |
| virtual void | FixedUpdate () |
| When overriding this fixed update make sure to call base.FixedUpdate() so that the spawn timer still works. More... | |
| abstract void | Spawn () |
| Define the logic for creating/spawning the object. More... | |
Public Attributes | |
| float | lifeSpanDuration = 1f |
| How long the objects will last in the scene after being spawned. More... | |
Public Attributes inherited from AerodynamicObjects.Utility.ObjectSpawner | |
| float | spawnRate |
| The frequency at which objects are spawned (number of objects per second). More... | |
An example spawner that will create objects that move with the flow.
|
virtual |
Define the logic for creating/spawning the object.
Implements AerodynamicObjects.Utility.ObjectSpawner.
| float AerodynamicObjects.Demos.ExampleSpawner.lifeSpanDuration = 1f |
How long the objects will last in the scene after being spawned.