기술 자료

Unity Engine


User Manual

Script Reference

Unity Engine


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
Graphics.DrawMeshNow
, only do so during EventType.Repaint.