duringSceneGui
Subscribe to this event to receive a callback whenever the Scene view calls the OnGUI method.
읽는 시간 1분최근 업데이트: 23일 전
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