Version: 2023.2

SceneView.duringSceneGui

切换到手册

参数

value 调用此回调的 Scene 视图。

描述

订阅此事件以在 Scene 视图每次调用 OnGUI 方法时接收回调。

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.