Summary
Registers the specified method to be called while drawing the
UnityEditor.SceneView
GUI.- Assembly
- Kybernetik
.InspectorGadgets .Editor .dll - Namespace
- InspectorGadgets
.Editor - Containing Type
- IGEditorUtils
Syntax
public static void OnSceneGUI(Action doGUI, Func<bool> keepDrawing, bool log = false)
Examples
See
InspectorGadgets.Editor.IGEditorUtils.OnSceneGUI(System.Action,System.Boolean)
.Remarks
The method will be de-registered when it throws any exception or `keepDrawing` returns false.
Parameters
Name | Type | Description |
---|---|---|
doGUI | Action | |
keepDrawing | Func |
|
log | bool |
Return Value
Type | Description |
---|---|
void |