IGEditorUtils.

OnSceneGUI(Action, Object, bool) Method

Summary

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

Syntax

public static Action OnSceneGUI(Action doGUI, Object target, bool log = false)

Examples

See InspectorGadgets.Editor.IGEditorUtils.OnSceneGUI(System.Action,System.Boolean).

Remarks

The method will be de-registered when the `target` is destroyed.

This method does nothing if the `target` is not a scene object.

Parameters

Name Type Description
doGUI Action
target Object
log bool

Return Value

Type Description
Action