C# Class WheelFX, racing_game

Inheritance: MonoBehaviour
Show file Open project: Rarau/racing_game

Public Properties

Property Type Description
heightOffset float
particles ParticleSystem
rubberOnRoad Material
sectionLenght float
skidMarkWidth float
skidmarkPool ObjectPool,
wheel WheelController,

Public Methods

Method Description
FixedUpdate ( ) : void
InitializePrefab ( ) : void
SkidMarkEffect ( ) : void

TO-DO: Optimize to use a single game object with a combined mesh or: pool the skidmark gameobjects

Start ( ) : void

Method Details

FixedUpdate() public method

public FixedUpdate ( ) : void
return void

InitializePrefab() public method

public InitializePrefab ( ) : void
return void

SkidMarkEffect() public method

TO-DO: Optimize to use a single game object with a combined mesh or: pool the skidmark gameobjects
public SkidMarkEffect ( ) : void
return void

Start() public method

public Start ( ) : void
return void

Property Details

heightOffset public property

public float heightOffset
return float

particles public property

public ParticleSystem particles
return ParticleSystem

rubberOnRoad public property

public Material rubberOnRoad
return Material

sectionLenght public property

public float sectionLenght
return float

skidMarkWidth public property

public float skidMarkWidth
return float

skidmarkPool public property

public ObjectPool, skidmarkPool
return ObjectPool,

wheel public property

public WheelController, wheel
return WheelController,