Singularity/Library/PackageCache/com.unity.collab-proxy@2.0.3/Editor/PlasticSCM/ApplicationDataPath.cs
2024-05-06 11:45:45 -07:00

25 lines
540 B
C#

using UnityEngine;
namespace Unity.PlasticSCM.Editor
{
internal static class ApplicationDataPath
{
internal static string Get()
{
return mApplicationDataPath ?? Application.dataPath;
}
internal static void InitializeForTesting(string applicationDataPath)
{
mApplicationDataPath = applicationDataPath;
}
internal static void Reset()
{
mApplicationDataPath = null;
}
static string mApplicationDataPath;
}
}