- Home /
How to still run OnSceneGUI when user turned off Gizmos
The main reason is that I need to get Event.current. so using EditorApplication.update doesn't help, because Event.curent is null in it.
Is there any way to keep OnSceneGUI to run even when user turn off Gizmos. Or is there other way to get Event.current under this situation?
Comment
Best Answer
Answer by SunnyChow · Mar 31, 2021 at 05:44 AM
oh sorry
i found out i can use SceneView.duringSceneGui
Your answer