0

EditorUtility.OpenFilePanel can only target files.

EditorUtility.OpenFolderPanel can only target folders.

I need one that can target either a file or folder at the user's discretion.

SilentSin
  • 1,026
  • 9
  • 18
  • There is no built-in method, but you can achieve that by [doing P/Invoke the related Win32 API](http://stackoverflow.com/a/25738110/3427520). – zwcloud Oct 07 '16 at 02:55
  • That looks pretty complicated and would only work in Windows wouldn't it? I guess I'll just try to work around the problem. – SilentSin Oct 07 '16 at 03:14

0 Answers0