Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public static void OpenFolder(string path)
- {
- if (Application.platform == RuntimePlatform.WindowsEditor)
- {
- path = path.Replace(@"/", @"\");
- System.Diagnostics.Process.Start("explorer.exe", "/select," + path);
- }
- else
- EditorUtility.RevealInFinder(path);
- }
Advertisement
Add Comment
Please, Sign In to add comment