
I updated everything to the latest Unity Editor. Also realized I had the wrong shaders on my hairs, those are fixed and the hairs look MUCH better!
25 lines
540 B
C#
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;
|
|
}
|
|
}
|