C# Class NearFutureElectrical.DischargeCapacitorUI

Inheritance: UnityEngine.MonoBehaviour
Afficher le fichier Open project: ChrisAdderley/NearFutureElectrical Class Usage Examples

Méthodes publiques

Свойство Type Description
scrollPosition Vector2
windowPos UnityEngine.Rect

Méthodes publiques

Méthode 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

Méthode 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 méthode

public Awake ( ) : void
Résultat void

DummyVoid() public méthode

public DummyVoid ( ) : void
Résultat void

FindCapacitors() public méthode

public FindCapacitors ( ) : void
Résultat void

OnDestroy() public méthode

public OnDestroy ( ) : void
Résultat void

OnGUIAppLauncherDestroyed() public méthode

public OnGUIAppLauncherDestroyed ( ) : void
Résultat void

OnGUIAppLauncherReady() public méthode

public OnGUIAppLauncherReady ( ) : void
Résultat void

ResetAppLauncher() public méthode

public ResetAppLauncher ( ) : void
Résultat void

Start() public méthode

public Start ( ) : void
Résultat void

ToggleCapWindow() public static méthode

public static ToggleCapWindow ( ) : void
Résultat void

Update() public méthode

public Update ( ) : void
Résultat void

onAppLaunchToggleOff() public méthode

public onAppLaunchToggleOff ( ) : void
Résultat void

Property Details

scrollPosition public_oe property

public Vector2 scrollPosition
Résultat Vector2

windowPos public_oe property

public Rect,UnityEngine windowPos
Résultat UnityEngine.Rect