Skip to content

Commit

Permalink
Update LogRedirection.cs (#505)
Browse files Browse the repository at this point in the history
误删了拼接路径的代码
  • Loading branch information
u-xp authored Nov 1, 2023
1 parent 383abfb commit 0ece287
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ private static bool OnOpenAsset(int instanceID, int line)
// 行号
line = Convert.ToInt32(pathLine.Substring(splitIndex + 1));
var fullPath = UnityEngine.Application.dataPath.Substring(0, UnityEngine.Application.dataPath.LastIndexOf("Assets", StringComparison.Ordinal));
fullPath = $"{fullPath}{path}";
#if UNITY_STANDALONE_WIN
fullPath = fullPath.Replace('/', '\\');
#endif
Expand Down

0 comments on commit 0ece287

Please sign in to comment.