C# Class KerbalEngineer.KeyBinding.KeyBinder

Inheritance: UnityEngine.MonoBehaviour
Afficher le fichier Open project: CYBUTEK/KerbalEngineer

Méthodes publiques

Méthode Description
Load ( ) : void

Loads the key bindings from disk.

Save ( ) : void

Saves the key bindings to disk.

Show ( ) : void

Shows the key binding window.

Méthodes protégées

Méthode Description
Awake ( ) : void

Called by unity when component is created.

OnDestroy ( ) : void

Called by unity when component is destroyed.

OnGUI ( ) : void

Called by unity to draw the GUI.

Update ( ) : void

Called by unity every frame.

Private Methods

Méthode Description
CentreWindow ( ) : void

Centres the window on screen.

KeyBinder ( ) : System
RenderKeyBind ( string name, KeyCode currentBinding, Action acceptClicked ) : void

Renders a key bind option.

RenderWindow ( int id ) : void

Renders the GUI window contents.

UpdateInputLock ( ) : void

Updates the input lock.

Method Details

Awake() protected méthode

Called by unity when component is created.
protected Awake ( ) : void
Résultat void

Load() public static méthode

Loads the key bindings from disk.
public static Load ( ) : void
Résultat void

OnDestroy() protected méthode

Called by unity when component is destroyed.
protected OnDestroy ( ) : void
Résultat void

OnGUI() protected méthode

Called by unity to draw the GUI.
protected OnGUI ( ) : void
Résultat void

Save() public static méthode

Saves the key bindings to disk.
public static Save ( ) : void
Résultat void

Show() public static méthode

Shows the key binding window.
public static Show ( ) : void
Résultat void

Update() protected méthode

Called by unity every frame.
protected Update ( ) : void
Résultat void