remove ThisType? field. #1866

This commit is contained in:
ousttrue
2022-10-24 17:56:22 +09:00
parent d2b4ad1964
commit 05a7cda9e1

View File

@@ -50,20 +50,10 @@ namespace VRMShaders
}
}
static PathObject? _root;
public static PathObject UnityRoot
{
get
{
if (!_root.HasValue)
{
_root = FromFullPath(Path.GetDirectoryName(Application.dataPath));
}
return _root.Value;
}
}
public static PathObject UnityRoot { get; } = FromFullPath(Path.GetDirectoryName(Application.dataPath));
public static PathObject UnityAssets => UnityRoot.Child("Assets/");
// 記述順に解決?
public static PathObject UnityAssets { get; } = UnityRoot.Child("Assets/");
PathObject(string src)
{