From 029581228934779fa37ecff418b1974caeda9f4b Mon Sep 17 00:00:00 2001
From: Kochoyume <78918084+kochounoyume@users.noreply.github.com>
Date: Wed, 1 Jan 2025 17:52:30 +0900
Subject: [PATCH] Fix DebugViewBase
---
Packages/MinimalUtility/Runtime/Debugging/DebugViewerBase.cs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Packages/MinimalUtility/Runtime/Debugging/DebugViewerBase.cs b/Packages/MinimalUtility/Runtime/Debugging/DebugViewerBase.cs
index 54fdf60..51068c9 100644
--- a/Packages/MinimalUtility/Runtime/Debugging/DebugViewerBase.cs
+++ b/Packages/MinimalUtility/Runtime/Debugging/DebugViewerBase.cs
@@ -30,7 +30,7 @@ public abstract class DebugViewerBase
/// ルート要素.
public virtual VisualElement Start()
{
- var uiDocument = DontDestroyObject.Default.AddComponent();
+ var uiDocument = DontDestroyObject.Shared.AddComponent();
if (panelSettings == null)
{
panelSettings = ScriptableObject.CreateInstance();