C# Class MuMech.MuMechGUI

Inheritance: UnityEngine.MonoBehaviour
Show file 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 static property

protected static Rect,UnityEngine controlWinPos
return UnityEngine.Rect

editorScroll protected static property

protected static Vector2 editorScroll
return Vector2

editorWinPos protected static property

protected static Rect editorWinPos
return Rect

groupEditorWinPos protected static property

protected static Rect groupEditorWinPos
return Rect

gui_controller protected static property

protected static MuMechGUI gui_controller
return MuMechGUI

resetWin protected static property

protected static bool resetWin
return bool

tweakWinPos protected static property

protected static Rect tweakWinPos
return Rect

useEC protected static property

protected static bool useEC
return bool