Documentation

Unity Engine

Unity Engine

beforeSceneGui

The event issued when the OnGUI method is called.
Read time 1 minuteLast updated 2 months ago

Definition

  • Type: Event
  • Namespace: UnityEditor
  • Assembly: UnityEditor
public static event Action<SceneView> beforeSceneGui

Remarks

Use this callback to queue meshes for rendering in the Scene view. To implement handles, tools, and UI, use SceneView.duringSceneGui.