Is there a way to simulate “double-clicking” a file from Editor script? I am programmatically generating an AnimatorController and would like to open it once it is created. I tried this command: UnityEditorInternal.InternalEditorUtility.OpenFileAtLineExternal(path, 0);
But that seems to open the file in MonoDevelop no matter what type of a file it is.