com.alicizax.unity.framework/Runtime/Debugger/DebuggerComponent.PathInformationWindow.cs
2026-04-20 17:38:22 +08:00

28 lines
1.2 KiB
C#

using System;
using AlicizaX;
using UnityEngine;
namespace AlicizaX.Debugger.Runtime
{
public sealed partial class DebuggerComponent
{
private sealed class PathInformationWindow : ScrollableDebuggerWindowBase
{
protected override void OnDrawScrollableWindow()
{
GUILayout.Label("<b>Path Information</b>");
GUILayout.BeginVertical("box");
{
DrawItem("Current Directory", Utility.Path.GetRegularPath(Environment.CurrentDirectory));
DrawItem("Data Path", Utility.Path.GetRegularPath(Application.dataPath));
DrawItem("Persistent Data Path", Utility.Path.GetRegularPath(Application.persistentDataPath));
DrawItem("Streaming Assets Path", Utility.Path.GetRegularPath(Application.streamingAssetsPath));
DrawItem("Temporary Cache Path", Utility.Path.GetRegularPath(Application.temporaryCachePath));
DrawItem("Console Log Path", Utility.Path.GetRegularPath(Application.consoleLogPath));
}
GUILayout.EndVertical();
}
}
}
}