C# Class KerbalEngineer.Flight.FlightAppLauncher

Inheritance: AppLauncherButton, IFlightAppLauncher
Mostra file Open project: CYBUTEK/KerbalEngineer Class Usage Examples

Public Methods

Method Description
ApplyTheme ( GameObject gameObject ) : void

Applies the KSP theme to a game object and its children.

ClampToScreen ( RectTransform rectTransform ) : void

Clamps the given rect transform within the screen bounds.

NewCustomSection ( ) : ISectionModule

Creates and initialises a new custom section.

Protected Methods

Method Description
Awake ( ) : void
OnFalse ( ) : void
OnHover ( ) : void
OnHoverOut ( ) : void
OnTrue ( ) : void
Update ( ) : void

Private Methods

Method Description
Close ( ) : void

Closes the menu.

IFlightAppLauncher ( ) : IList

Gets a list of custom sections.

Open ( ) : void

Opens the menu.

Method Details

ApplyTheme() public method

Applies the KSP theme to a game object and its children.
public ApplyTheme ( GameObject gameObject ) : void
gameObject UnityEngine.GameObject
return void

Awake() protected method

protected Awake ( ) : void
return void

ClampToScreen() public method

Clamps the given rect transform within the screen bounds.
public ClampToScreen ( RectTransform rectTransform ) : void
rectTransform UnityEngine.RectTransform
return void

NewCustomSection() public method

Creates and initialises a new custom section.
public NewCustomSection ( ) : ISectionModule
return ISectionModule

OnFalse() protected method

protected OnFalse ( ) : void
return void

OnHover() protected method

protected OnHover ( ) : void
return void

OnHoverOut() protected method

protected OnHoverOut ( ) : void
return void

OnTrue() protected method

protected OnTrue ( ) : void
return void

Update() protected method

protected Update ( ) : void
return void