// EditorGUI.csprivatestaticvoid EditorGUI_OpenFileOnHyperLinkClicked(EditorWindow window, UnityEditor.HyperLinkClickedEventArgs args)
{
string path;
if (!args.hyperLinkData.TryGetValue("href", out path))
return;
string lineString;
args.hyperLinkData.TryGetValue("line", out lineString);
int line =-1;
Int32.TryParse(lineString, out line);
var sanitizedPath = path.Replace('\\', '/');
if (!String.IsNullOrEmpty(sanitizedPath))
{
if (Uri.IsWellFormedUriString(sanitizedPath, UriKind.Absolute))
Application.OpenURL(path);
else
LogEntries.OpenFileOnSpecificLineAndColumn(path, line, -1);
}
}