Aerodynamic Objects Core 2.0.0
Loading...
Searching...
No Matches
AerodynamicObjects.Demos.ExampleSpawner Class Reference

An example spawner that will create objects that move with the flow. More...

Inheritance diagram for AerodynamicObjects.Demos.ExampleSpawner:
AerodynamicObjects.Utility.ObjectSpawner

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...
 

Detailed Description

An example spawner that will create objects that move with the flow.

Member Function Documentation

◆ Spawn()

override void AerodynamicObjects.Demos.ExampleSpawner.Spawn ( )
virtual

Define the logic for creating/spawning the object.

Implements AerodynamicObjects.Utility.ObjectSpawner.

Member Data Documentation

◆ lifeSpanDuration

float AerodynamicObjects.Demos.ExampleSpawner.lifeSpanDuration = 1f

How long the objects will last in the scene after being spawned.


The documentation for this class was generated from the following file: