|
Aerodynamic Objects Core 2.0.0
|
Applies a life timer to a flow primitive, destroying the entire GameObject after a set amount of time. More...
Public Attributes | |
| AnimationCurve | strengthScaleOverTimeCurve = new AnimationCurve(new Keyframe[] { new(0, 0), new(.1f, 1), new(1, 0) }) |
| float | lifeSpanDuration = 10f |
Applies a life timer to a flow primitive, destroying the entire GameObject after a set amount of time.
Also applies a strength over time curve to the strength scale of the flow primitive. Will affect all flow primitives that are children of the object that this component is attached to (including the object itself).
| float AerodynamicObjects.Utility.FlowPrimitiveLifeTimer.lifeSpanDuration = 10f |
| AnimationCurve AerodynamicObjects.Utility.FlowPrimitiveLifeTimer.strengthScaleOverTimeCurve = new AnimationCurve(new Keyframe[] { new(0, 0), new(.1f, 1), new(1, 0) }) |