You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
540 B
24 lines
540 B
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; |
|
} |
|
}
|
|
|