C# Class WeaponTrail, VRCubeSword

Inheritance: MonoBehaviour
Show file Open project: VirsixInc/VRCubeSword Class Usage Examples

Public Properties

Property Type Description
alwaysUp bool
desiredTime float
endColor Color
height float
minDistance float
startColor Color
time float
timeTransitionSpeed float

Public Methods

Method Description
Awake ( ) : void
ClearTrail ( ) : void
FadeOut ( float fadeTime ) : void
Itterate ( float itterateTime ) : void
SetTime ( float trailTime, float timeToTweenTo, float tweenSpeed ) : void
SetTrailColor ( Color color ) : void
StartTrail ( float timeToTweenTo, float fadeInTime ) : void
UpdateTrail ( float currentTime, float deltaTime ) : void

Method Details

Awake() public method

public Awake ( ) : void
return void

ClearTrail() public method

public ClearTrail ( ) : void
return void

FadeOut() public method

public FadeOut ( float fadeTime ) : void
fadeTime float
return void

Itterate() public method

public Itterate ( float itterateTime ) : void
itterateTime float
return void

SetTime() public method

public SetTime ( float trailTime, float timeToTweenTo, float tweenSpeed ) : void
trailTime float
timeToTweenTo float
tweenSpeed float
return void

SetTrailColor() public method

public SetTrailColor ( Color color ) : void
color Color
return void

StartTrail() public method

public StartTrail ( float timeToTweenTo, float fadeInTime ) : void
timeToTweenTo float
fadeInTime float
return void

UpdateTrail() public method

public UpdateTrail ( float currentTime, float deltaTime ) : void
currentTime float
deltaTime float
return void

Property Details

alwaysUp public property

public bool alwaysUp
return bool

desiredTime public property

public float desiredTime
return float

endColor public property

public Color endColor
return Color

height public property

public float height
return float

minDistance public property

public float minDistance
return float

startColor public property

public Color startColor
return Color

time public property

public float time
return float

timeTransitionSpeed public property

public float timeTransitionSpeed
return float