Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


beforeSceneGui

The event issued when the OnGUI method is called.
Read time 1 minuteLast updated 7 days 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.