Highroad Engine v1.3
|
This class handles particle emission when colliding with something More...
Public Member Functions | |
override void | Initialization () |
On Init we stop the particle emission More... | |
override void | Update () |
Update this method in subclasses More... | |
override void | OnVehicleCollisionEnter (Collision other) |
When colliding with another object, if the speed is high enough, we play our sparkles More... | |
Public Member Functions inherited from MoreMountains.HighroadEngine.SolidBehaviourExtender | |
virtual void | Start () |
Controller's initialization More... | |
Public Attributes | |
ParticleSystem | Sparkles |
A reference to the particle emission prefab. More... | |
int | MinimalSpeedForSparkles = 5 |
The minimal speed required to start emitting particles. More... | |
Additional Inherited Members | |
Protected Attributes inherited from MoreMountains.HighroadEngine.SolidBehaviourExtender | |
SolidController | _controller |
This class handles particle emission when colliding with something
|
virtual |
On Init we stop the particle emission
Reimplemented from MoreMountains.HighroadEngine.SolidBehaviourExtender.
|
virtual |
When colliding with another object, if the speed is high enough, we play our sparkles
other | Other. |
Reimplemented from MoreMountains.HighroadEngine.SolidBehaviourExtender.
|
virtual |
Update this method in subclasses
Implements MoreMountains.HighroadEngine.SolidBehaviourExtender.
int MoreMountains.HighroadEngine.SolidObstacleParticlesEmitter.MinimalSpeedForSparkles = 5 |
The minimal speed required to start emitting particles.
ParticleSystem MoreMountains.HighroadEngine.SolidObstacleParticlesEmitter.Sparkles |
A reference to the particle emission prefab.