We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0295ea5 commit 58a8a4eCopy full SHA for 58a8a4e
Assets/Hai/LightboxViewer/Scripts/Editor/LightboxViewerEditorWindow.cs
@@ -287,6 +287,11 @@ private void Enable()
287
ProjectRenderQueue.LoadLightbox(lightboxScene);
288
_enabled = true;
289
Realign();
290
+
291
+ // Fix UI text rendering over everything.
292
+ // This normally fixes itself when entering Play mode, but this will allow not needing to enter Play mode.
293
+ var LessEqual = 4;
294
+ Shader.SetGlobalInt("unity_GUIZTestMode", LessEqual);
295
}
296
297
private void Realign()
0 commit comments