Click or drag to resize

PartDebugAdjustmentDialogOnGUI Method

A callback which is called for every GUI event.

Namespace:  KSPDev.DebugUtils
Assembly:  KSPDev_Utils.1.1 (in KSPDev_Utils.1.1.dll) Version: 1.1 for KSP v1.6+
Syntax
C#
public void OnGUI()
Request Example View Source

Implements

IHasGUIOnGUI
Remarks

On the every frame update Unity sends at least two events to every handler: Layout and Repaint. There can be more input events sent. The implementation must not change the number of controls in the view after the layout event.

The modules don't need to implement this intefrace to be notified. It's called by the Unity core via messanging. However, implementing the interface make the inheritance and the overall code maintainability better.

See Also