Highroad Engine v1.3
Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | List of all members
MoreMountains.HighroadEngine.AirCarBehaviour Class Reference

Graphics and particles behaviour More...

Inheritance diagram for MoreMountains.HighroadEngine.AirCarBehaviour:

Public Member Functions

virtual void Start ()
 Initializes references More...
 
virtual void FixedUpdate ()
 Particles and animations updates More...
 

Public Attributes

Transform Mesh
 
float MaximumBodyRollAngle = 30f
 
float BodyRollSpeed = 1f
 
float WindEmissionsFullRate = 200f
 
float ReactorFullScale = 0.2f
 
float TailMinSize = 0.01f
 
float TailMaxSize = 0.3f
 
Color TailNormalColor = Color.white
 
Color TailBoostColor = Color.blue
 
float ParticlesActivationMinimumSpeed = 5f
 
float SpeedFactor = 10f
 
ParticleSystem WindLeft
 
ParticleSystem WindRight
 
SpriteRenderer ReactorLeft
 
SpriteRenderer ReactorRight
 
SpriteRenderer Reactor2Left
 
SpriteRenderer Reactor2Right
 
ParticleSystem RearParticlesLeft
 
ParticleSystem RearParticlesRight
 
ParticleSystem Tail
 

Protected Member Functions

virtual void VehicleRoll ()
 Manages rolling of the vehicle depending on input controls More...
 
virtual void WindUpdate ()
 Updates wind particles emission rate depending on vehicle speed More...
 
virtual void ReactorUpdate ()
 Updates reactor display More...
 

Protected Attributes

AirCarController _controller
 
ParticleSystem.EmissionModule _windLeftEmissions
 
ParticleSystem.EmissionModule _windRightEmissions
 
ParticleSystem.EmissionModule _rearLeftEmissions
 
ParticleSystem.EmissionModule _rearRightEmissions
 
ParticleSystem.EmissionModule _tailEmissions
 

Detailed Description

Graphics and particles behaviour

Member Function Documentation

◆ FixedUpdate()

virtual void MoreMountains.HighroadEngine.AirCarBehaviour.FixedUpdate ( )
virtual

Particles and animations updates

◆ ReactorUpdate()

virtual void MoreMountains.HighroadEngine.AirCarBehaviour.ReactorUpdate ( )
protectedvirtual

Updates reactor display

◆ Start()

virtual void MoreMountains.HighroadEngine.AirCarBehaviour.Start ( )
virtual

Initializes references

◆ VehicleRoll()

virtual void MoreMountains.HighroadEngine.AirCarBehaviour.VehicleRoll ( )
protectedvirtual

Manages rolling of the vehicle depending on input controls

◆ WindUpdate()

virtual void MoreMountains.HighroadEngine.AirCarBehaviour.WindUpdate ( )
protectedvirtual

Updates wind particles emission rate depending on vehicle speed

Member Data Documentation

◆ _controller

AirCarController MoreMountains.HighroadEngine.AirCarBehaviour._controller
protected

◆ _rearLeftEmissions

ParticleSystem.EmissionModule MoreMountains.HighroadEngine.AirCarBehaviour._rearLeftEmissions
protected

◆ _rearRightEmissions

ParticleSystem.EmissionModule MoreMountains.HighroadEngine.AirCarBehaviour._rearRightEmissions
protected

◆ _tailEmissions

ParticleSystem.EmissionModule MoreMountains.HighroadEngine.AirCarBehaviour._tailEmissions
protected

◆ _windLeftEmissions

ParticleSystem.EmissionModule MoreMountains.HighroadEngine.AirCarBehaviour._windLeftEmissions
protected

◆ _windRightEmissions

ParticleSystem.EmissionModule MoreMountains.HighroadEngine.AirCarBehaviour._windRightEmissions
protected

◆ BodyRollSpeed

float MoreMountains.HighroadEngine.AirCarBehaviour.BodyRollSpeed = 1f

◆ MaximumBodyRollAngle

float MoreMountains.HighroadEngine.AirCarBehaviour.MaximumBodyRollAngle = 30f

◆ Mesh

Transform MoreMountains.HighroadEngine.AirCarBehaviour.Mesh

◆ ParticlesActivationMinimumSpeed

float MoreMountains.HighroadEngine.AirCarBehaviour.ParticlesActivationMinimumSpeed = 5f

◆ Reactor2Left

SpriteRenderer MoreMountains.HighroadEngine.AirCarBehaviour.Reactor2Left

◆ Reactor2Right

SpriteRenderer MoreMountains.HighroadEngine.AirCarBehaviour.Reactor2Right

◆ ReactorFullScale

float MoreMountains.HighroadEngine.AirCarBehaviour.ReactorFullScale = 0.2f

◆ ReactorLeft

SpriteRenderer MoreMountains.HighroadEngine.AirCarBehaviour.ReactorLeft

◆ ReactorRight

SpriteRenderer MoreMountains.HighroadEngine.AirCarBehaviour.ReactorRight

◆ RearParticlesLeft

ParticleSystem MoreMountains.HighroadEngine.AirCarBehaviour.RearParticlesLeft

◆ RearParticlesRight

ParticleSystem MoreMountains.HighroadEngine.AirCarBehaviour.RearParticlesRight

◆ SpeedFactor

float MoreMountains.HighroadEngine.AirCarBehaviour.SpeedFactor = 10f

◆ Tail

ParticleSystem MoreMountains.HighroadEngine.AirCarBehaviour.Tail

◆ TailBoostColor

Color MoreMountains.HighroadEngine.AirCarBehaviour.TailBoostColor = Color.blue

◆ TailMaxSize

float MoreMountains.HighroadEngine.AirCarBehaviour.TailMaxSize = 0.3f

◆ TailMinSize

float MoreMountains.HighroadEngine.AirCarBehaviour.TailMinSize = 0.01f

◆ TailNormalColor

Color MoreMountains.HighroadEngine.AirCarBehaviour.TailNormalColor = Color.white

◆ WindEmissionsFullRate

float MoreMountains.HighroadEngine.AirCarBehaviour.WindEmissionsFullRate = 200f

◆ WindLeft

ParticleSystem MoreMountains.HighroadEngine.AirCarBehaviour.WindLeft

◆ WindRight

ParticleSystem MoreMountains.HighroadEngine.AirCarBehaviour.WindRight

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