C# Class ParsedMagnetData

显示文件 Open project: waltzaround/Cardboard-Asteroids Class Usage Examples

Public Methods

Method Description
AddToMagnetWindow ( ) : void
IsDown ( ) : bool
IsUp ( ) : bool
ParsedMagnetData ( ) : UnityEngine
PrintDebug ( ) : void
ResetState ( ) : void
TrimMagnetWindow ( ) : void
Update ( ) : void

Private Methods

Method Description
Average ( List moments ) : float
CaptureMagnetWindow ( ) : MagnetWindowState
CheckStability ( ) : bool
CheckTriggerState ( ) : TriggerState,
IsMagnetGoingDown ( float min, float max, float start ) : bool
IsNegative ( ) : bool
IsPositive ( ) : bool
MagnetAbsent ( ) : bool

Method Details

AddToMagnetWindow() public method

public AddToMagnetWindow ( ) : void
return void

IsDown() public method

public IsDown ( ) : bool
return bool

IsUp() public method

public IsUp ( ) : bool
return bool

ParsedMagnetData() public method

public ParsedMagnetData ( ) : UnityEngine
return UnityEngine

PrintDebug() public method

public PrintDebug ( ) : void
return void

ResetState() public method

public ResetState ( ) : void
return void

TrimMagnetWindow() public method

public TrimMagnetWindow ( ) : void
return void

Update() public method

public Update ( ) : void
return void