playtest-unity/playtest/Library/PackageCache/com.unity.collab-proxy@2.0.4/Editor/PlasticSCM/ApplicationDataPath.cs

25 lines
540 B
C#
Raw Normal View History

2023-06-19 23:21:21 -04:00
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;
}
}