IGEditorUtils.

OnSceneGUI(Action, Func<bool>, bool) Method

Summary

Registers the specified method to be called while drawing the UnityEditor.SceneView GUI.

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<bool>
log bool

Return Value

Type Description
void