C# Class WeaponTrail, VRCubeSword

Inheritance: MonoBehaviour
ファイルを表示 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_oe property

public bool alwaysUp
return bool

desiredTime public_oe property

public float desiredTime
return float

endColor public_oe property

public Color endColor
return Color

height public_oe property

public float height
return float

minDistance public_oe property

public float minDistance
return float

startColor public_oe property

public Color startColor
return Color

time public_oe property

public float time
return float

timeTransitionSpeed public_oe property

public float timeTransitionSpeed
return float