浏览代码

Fix path search in test tool framework

/main
Frédéric Vauchelles 7 年前
当前提交
4838fe60
共有 1 个文件被更改,包括 1 次插入2 次删除
  1. 3
      Tests/Scripts/GraphicTests/Framework/TestFrameworkTools.cs

3
Tests/Scripts/GraphicTests/Framework/TestFrameworkTools.cs


#if UNITY_EDITOR
string absoluteScenesPath = s_Path.Aggregate(s_RootPath, Path.Combine);
string assetScenesPath = absoluteScenesPath.Replace(Application.dataPath, "");
assetScenesPath = Path.Combine("Assets", assetScenesPath.Remove(0, 1));
string assetScenesPath = absoluteScenesPath.Substring(absoluteScenesPath.IndexOf("Assets"));
string filesPath = Path.Combine(assetScenesPath, _pipelinePath);

正在加载...
取消
保存