duringSceneGui
Subscribe to this event to receive a callback whenever the Scene view calls the OnGUI method.
Read time 1 minuteLast updated 4 days ago
Definition
- Type: Event
- Namespace: UnityEditor
- Assembly: UnityEditor
public static event Action<SceneView> duringSceneGui
Remarks
Use this event to implement custom handles and user interface. If you want to draw elements in the Scene view, for instance by using , only do so during EventType.Repaint.
Graphics.DrawMeshNow