fix: the annoying empty black scene overlay box shown even when nothing is selected
parent
5e6da2e158
commit
bdeeabbbe1
|
@ -102,7 +102,7 @@ namespace Coffee.UIExtensions
|
|||
#endif
|
||||
|
||||
#if UNITY_2019_1_OR_NEWER
|
||||
SceneView.duringSceneGui += _ => miSceneViewOverlayWindow.Invoke(null, sceneViewArgs);
|
||||
SceneView.duringSceneGui += _ => { if (s_SerializedObject != null) miSceneViewOverlayWindow.Invoke(null, sceneViewArgs); };
|
||||
#else
|
||||
SceneView.onSceneGUIDelegate += _ =>
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue