C# Class NearFutureElectrical.DischargeCapacitorUI

Inheritance: UnityEngine.MonoBehaviour
Show file Open project: ChrisAdderley/NearFutureElectrical Class Usage Examples

Public Properties

Property Type Description
scrollPosition Vector2
windowPos UnityEngine.Rect

Public Methods

Method Description
Awake ( ) : void
DummyVoid ( ) : void
FindCapacitors ( ) : void
OnDestroy ( ) : void
OnGUIAppLauncherDestroyed ( ) : void
OnGUIAppLauncherReady ( ) : void
ResetAppLauncher ( ) : void
Start ( ) : void
ToggleCapWindow ( ) : void
Update ( ) : void
onAppLaunchToggleOff ( ) : void

Private Methods

Method Description
CapacitorWindow ( int windowId ) : void
ChargeAll ( ) : void
DischargeAll ( ) : void
DrawCapacitor ( DischargeCapacitor cap ) : void
DrawCapacitorGUI ( ) : void
GetAllChargeRatesCurrent ( ) : float
GetAllDischargeRatesCurrent ( ) : float
GetChargePercent ( DischargeCapacitor cap ) : float
GetCurrentRate ( DischargeCapacitor cap ) : float
InitStyles ( ) : void
OnGUI ( ) : void
OnToolbarButtonToggle ( ) : void
StopChargeAll ( ) : void
getTotalEc ( ) : float
getTotalSc ( ) : float

Method Details

Awake() public method

public Awake ( ) : void
return void

DummyVoid() public method

public DummyVoid ( ) : void
return void

FindCapacitors() public method

public FindCapacitors ( ) : void
return void

OnDestroy() public method

public OnDestroy ( ) : void
return void

OnGUIAppLauncherDestroyed() public method

public OnGUIAppLauncherDestroyed ( ) : void
return void

OnGUIAppLauncherReady() public method

public OnGUIAppLauncherReady ( ) : void
return void

ResetAppLauncher() public method

public ResetAppLauncher ( ) : void
return void

Start() public method

public Start ( ) : void
return void

ToggleCapWindow() public static method

public static ToggleCapWindow ( ) : void
return void

Update() public method

public Update ( ) : void
return void

onAppLaunchToggleOff() public method

public onAppLaunchToggleOff ( ) : void
return void

Property Details

scrollPosition public property

public Vector2 scrollPosition
return Vector2

windowPos public property

public Rect,UnityEngine windowPos
return UnityEngine.Rect