duringSceneGui
Subscribe to this event to receive a callback whenever the Scene view calls the OnGUI method.
阅读时间1 分钟最后更新于 1 个月前
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