C# 클래스 KerbalEngineer.Flight.FlightEngineerCore

상속: UnityEngine.MonoBehaviour
파일 보기 프로젝트 열기: CYBUTEK/KerbalEngineer

공개 메소드들

메소드 설명
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