C# Class MuMech.MuMechGUI

Inheritance: UnityEngine.MonoBehaviour
Mostrar archivo Open project: sirkut/InfernalRobotics Class Usage Examples

Protected Properties

Property Type Description
controlWinPos UnityEngine.Rect
editorScroll Vector2
editorWinPos Rect
groupEditorWinPos Rect
gui_controller MuMechGUI
resetWin bool
tweakWinPos Rect
useEC bool

Public Methods

Method Description
add_servo ( MuMechToggle servo ) : void
loadConfigXML ( ) : void
remove_servo ( MuMechToggle servo ) : void
saveConfigXML ( ) : void

Private Methods

Method Description
Awake ( ) : void
ControlWindow ( int windowID ) : void
EditorLock ( System.Boolean Apply ) : void

Applies or removes the lock

EditorWindow ( int windowID ) : void
GroupEditorWindow ( int windowID ) : void
OnDestroy ( ) : void
OnGUI ( ) : void
SetEditorScrollYPosition ( System.Single NewY ) : void
move_servo ( Group from, Group to, MuMechToggle servo ) : void
onAppReady ( ) : void
onEditorShipModified ( ShipConstruct ship ) : void
onPartAttach ( Part>.GameEvents host_target ) : void
onPartRemove ( Part>.GameEvents host_target ) : void
onVesselChange ( Vessel v ) : void
onVesselWasModified ( Vessel v ) : void
refreshKeysFromGUI ( ) : void
tweakWindow ( int windowID ) : void
updateGroupECRequirement ( Group servoGroup ) : void

Method Details

add_servo() public static method

public static add_servo ( MuMechToggle servo ) : void
servo MuMechToggle
return void

loadConfigXML() public method

public loadConfigXML ( ) : void
return void

remove_servo() public static method

public static remove_servo ( MuMechToggle servo ) : void
servo MuMechToggle
return void

saveConfigXML() public method

public saveConfigXML ( ) : void
return void

Property Details

controlWinPos protected_oe static_oe property

protected static Rect,UnityEngine controlWinPos
return UnityEngine.Rect

editorScroll protected_oe static_oe property

protected static Vector2 editorScroll
return Vector2

editorWinPos protected_oe static_oe property

protected static Rect editorWinPos
return Rect

groupEditorWinPos protected_oe static_oe property

protected static Rect groupEditorWinPos
return Rect

gui_controller protected_oe static_oe property

protected static MuMechGUI gui_controller
return MuMechGUI

resetWin protected_oe static_oe property

protected static bool resetWin
return bool

tweakWinPos protected_oe static_oe property

protected static Rect tweakWinPos
return Rect

useEC protected_oe static_oe property

protected static bool useEC
return bool