Skip to content

Commit 8b095da

Browse files
committed
Renamed OpenInExplorer to OpenPathInExplorer for clarity
1 parent 5e4d403 commit 8b095da

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Runtime/AssetManagement.Extensions.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,20 +81,20 @@ public static async void SaveToFile(this byte[] bytes, string path, string fileN
8181
path.CreateDirectoryIfVoid();
8282

8383
#if !UNITY_EDITOR
84-
path.OpenInExplorer();
84+
path.OpenPathInExplorer();
8585
#endif
8686

8787
fileName.IsNullOrEmpty().IfTrue(() => fileName = bytes.CreateUniqueFileName());
8888
path = Path.Combine(path, fileName) + extension;
8989
await File.WriteAllBytesAsync(path, bytes);
9090
#if UNITY_EDITOR
9191
AssetDatabase.Refresh();
92-
Debug.Log($"Saved script to {path}");
92+
Debug.Log($"Saved to {path}");
9393
path.PingPath(ping);
9494
#endif
9595
}
9696

97-
public static void OpenInExplorer(this string path)
97+
public static void OpenPathInExplorer(this string path)
9898
{
9999
if (Directory.Exists(path) == false)
100100
return;

0 commit comments

Comments
 (0)