C# Class CardboardControlReticle.FadeState

Datei anzeigen Open project: waltzaround/Cardboard-Asteroids

Public Properties

Property Type Description
counter float
fadeTime float
reticle GameObject

Public Methods

Method Description
CurrentAlpha ( ) : float
CurrentColor ( ) : Color
Interrupt ( ) : void
PercentageFaded ( float counter ) : float
ResetCounter ( ) : void
UpdateCounter ( float fadeTime, GameObject reticle ) : void

Method Details

CurrentAlpha() public method

public CurrentAlpha ( ) : float
return float

CurrentColor() public method

public CurrentColor ( ) : Color
return Color

Interrupt() public method

public Interrupt ( ) : void
return void

PercentageFaded() public method

public PercentageFaded ( float counter ) : float
counter float
return float

ResetCounter() public method

public ResetCounter ( ) : void
return void

UpdateCounter() public method

public UpdateCounter ( float fadeTime, GameObject reticle ) : void
fadeTime float
reticle GameObject
return void

Property Details

counter public_oe property

public float counter
return float

fadeTime public_oe property

public float fadeTime
return float

reticle public_oe property

public GameObject reticle
return GameObject