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 6865a28 commit 765b93bCopy full SHA for 765b93b
com.unity.render-pipelines.core/Runtime/Debugging/DebugUpdater.cs
@@ -19,11 +19,12 @@ class DebugUpdater : MonoBehaviour
19
bool m_RuntimeUiWasVisibleLastFrame = false;
20
21
[RuntimeInitializeOnLoadMethod(RuntimeInitializeLoadType.AfterSceneLoad)]
22
- [Conditional("DEVELOPMENT_BUILD"), Conditional("UNITY_EDITOR")]
23
static void RuntimeInit()
24
{
+#if DEVELOPMENT_BUILD || UNITY_EDITOR
25
if (DebugManager.instance.enableRuntimeUI)
26
EnableRuntime();
27
+#endif
28
}
29
30
internal static void SetEnabled(bool enabled)
0 commit comments