C# Класс kOS.Screen.KOSToolbarWindow

Наследование: UnityEngine.MonoBehaviour
Показать файл Открыть проект

Открытые методы

Метод Описание
AddBlizzyButton ( ) : void
AddButton ( ) : void
Awake ( ) : void
BeginHoverHousekeeping ( ) : void
CallbackOnClickBlizzy ( ) : void
CallbackOnDisable ( ) : void

Callback for when the button is hidden or disabled by the application launcher

CallbackOnEnable ( ) : void

Callback for when the button is shown or enabled by the application launcher

CallbackOnFalse ( ) : void

Callback for when the button is toggled off

CallbackOnHide ( ) : void

Callback for when the application launcher hides itself

CallbackOnHover ( ) : void

Callback for when the mouse is hovering over the button

CallbackOnHoverOut ( ) : void

Callback for when the mouse is hover is off the button

CallbackOnShow ( ) : void

Callback for when the application launcher shows itself

CallbackOnTrue ( ) : void

Callback for when the button is toggled on

CheckHoverOnPreviousGUIElement ( Part part ) : void

Whatever the most recent GUILayout element was, remember the part it was for if the mouse was hovering in it.

Close ( ) : void
DrawWindow ( int windowID ) : void
EndHoverHousekeeping ( ) : void

Control the highlighting of parts in the vessel depending on whether or not the mouse was hovering in the right spot to cause a highlight.

FirstTimeSetup ( ) : void

Unity hates it when a MonoBehaviour has a constructor, so all the construction work is here instead:

GoAway ( ) : void
OnDestroy ( ) : void
OnGUI ( ) : void
Open ( ) : void
RemoveButton ( ) : void
SetupBackingConfigInts ( ) : void

In order to support the changes to solve issue #565 (see github for kOS) we have to store a temp value per integer field, that is NOT the actual official integer value of the field, but just stores the value the user is temporarily typing:

Start ( ) : void

Приватные методы

Метод Описание
BuildPanelSkin ( ) : GUISkin
CountBeginHorizontal ( string debugHelp = "" ) : void
CountBeginVertical ( string debugHelp = "" ) : void
CountEndHorizontal ( string debugHelp = "" ) : void
CountEndVertical ( string debugHelp = "" ) : void
DrawActiveCPUsOnPanel ( ) : void
DrawConfigIntField ( int keyVal, int whichInt ) : int
DrawPart ( Part part ) : void
DrawPartRow ( Part part ) : void
OnHideUI ( ) : void
OnShowUI ( ) : void
TelnetStatusMessage ( ) : string

Описание методов

AddBlizzyButton() публичный Метод

public AddBlizzyButton ( ) : void
Результат void

AddButton() публичный Метод

public AddButton ( ) : void
Результат void

Awake() публичный Метод

public Awake ( ) : void
Результат void

BeginHoverHousekeeping() публичный Метод

public BeginHoverHousekeeping ( ) : void
Результат void

CallbackOnClickBlizzy() публичный Метод

public CallbackOnClickBlizzy ( ) : void
Результат void

CallbackOnDisable() публичный Метод

Callback for when the button is hidden or disabled by the application launcher
public CallbackOnDisable ( ) : void
Результат void

CallbackOnEnable() публичный Метод

Callback for when the button is shown or enabled by the application launcher
public CallbackOnEnable ( ) : void
Результат void

CallbackOnFalse() публичный Метод

Callback for when the button is toggled off
public CallbackOnFalse ( ) : void
Результат void

CallbackOnHide() публичный Метод

Callback for when the application launcher hides itself
public CallbackOnHide ( ) : void
Результат void

CallbackOnHover() публичный Метод

Callback for when the mouse is hovering over the button
public CallbackOnHover ( ) : void
Результат void

CallbackOnHoverOut() публичный Метод

Callback for when the mouse is hover is off the button
public CallbackOnHoverOut ( ) : void
Результат void

CallbackOnShow() публичный Метод

Callback for when the application launcher shows itself
public CallbackOnShow ( ) : void
Результат void

CallbackOnTrue() публичный Метод

Callback for when the button is toggled on
public CallbackOnTrue ( ) : void
Результат void

CheckHoverOnPreviousGUIElement() публичный Метод

Whatever the most recent GUILayout element was, remember the part it was for if the mouse was hovering in it.
public CheckHoverOnPreviousGUIElement ( Part part ) : void
part Part The part that just had info drawn for it
Результат void

Close() публичный Метод

public Close ( ) : void
Результат void

DrawWindow() публичный Метод

public DrawWindow ( int windowID ) : void
windowID int
Результат void

EndHoverHousekeeping() публичный Метод

Control the highlighting of parts in the vessel depending on whether or not the mouse was hovering in the right spot to cause a highlight.
public EndHoverHousekeeping ( ) : void
Результат void

FirstTimeSetup() публичный статический Метод

Unity hates it when a MonoBehaviour has a constructor, so all the construction work is here instead:
public static FirstTimeSetup ( ) : void
Результат void

GoAway() публичный Метод

public GoAway ( ) : void
Результат void

OnDestroy() публичный Метод

public OnDestroy ( ) : void
Результат void

OnGUI() публичный Метод

public OnGUI ( ) : void
Результат void

Open() публичный Метод

public Open ( ) : void
Результат void

RemoveButton() публичный Метод

public RemoveButton ( ) : void
Результат void

SetupBackingConfigInts() публичный Метод

In order to support the changes to solve issue #565 (see github for kOS) we have to store a temp value per integer field, that is NOT the actual official integer value of the field, but just stores the value the user is temporarily typing:
public SetupBackingConfigInts ( ) : void
Результат void

Start() публичный Метод

public Start ( ) : void
Результат void