C# Класс KerbalEngineer.Flight.FlightEngineerCore

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

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

Метод Описание
AddSectionEditor ( SectionModule section ) : SectionEditor

Creates a section editor, adds it to the FlightEngineerCore and returns a reference to it.

AddSectionWindow ( SectionModule section ) : SectionWindow

Creates a section window, adds it to the FlightEngineerCore and returns a reference to it.

AddUpdatable ( IUpdatable updatable ) : void

Adds an updatable object to be automatically updated every frame and will ignore duplicate objects.

SwitchToVessel ( Vessel vessel ) : void

Switches the active vessel. This is delayed until the next Update call to avoid issues when called from OnGUI in KSP 1.2

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

Метод Описание
Awake ( ) : void

Create base Flight Engineer child objects.

FixedUpdate ( ) : void

Fixed update all required Flight Engineer objects.

FlightEngineerCore ( ) : System
OnDestroy ( ) : void

Force the destruction of child objects on core destruction.

Start ( ) : void

Initialises the object's state on creation.

Update ( ) : void

Update all required Flight Engineer objects.

UpdateModules ( ) : void

Update all updatable modules.

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

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

Creates a section editor, adds it to the FlightEngineerCore and returns a reference to it.
public AddSectionEditor ( SectionModule section ) : SectionEditor
section SectionModule
Результат SectionEditor

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

Creates a section window, adds it to the FlightEngineerCore and returns a reference to it.
public AddSectionWindow ( SectionModule section ) : SectionWindow
section SectionModule
Результат SectionWindow

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

Adds an updatable object to be automatically updated every frame and will ignore duplicate objects.
public AddUpdatable ( IUpdatable updatable ) : void
updatable IUpdatable
Результат void

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

Switches the active vessel. This is delayed until the next Update call to avoid issues when called from OnGUI in KSP 1.2
public static SwitchToVessel ( Vessel vessel ) : void
vessel Vessel
Результат void