Skip to content

Commit

Permalink
Fix DebugViewBase
Browse files Browse the repository at this point in the history
  • Loading branch information
kochounoyume committed Jan 1, 2025
1 parent 39f25ec commit 0295812
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public abstract class DebugViewerBase
/// <returns>ルート要素.</returns>
public virtual VisualElement Start()
{
var uiDocument = DontDestroyObject.Default.AddComponent<UIDocument>();
var uiDocument = DontDestroyObject.Shared.AddComponent<UIDocument>();
if (panelSettings == null)
{
panelSettings = ScriptableObject.CreateInstance<PanelSettings>();
Expand Down

0 comments on commit 0295812

Please sign in to comment.