gkngkc / UnityStandaloneFileBrowser

A native file browser for unity standalone platforms
MIT License
2.01k stars 317 forks source link

Open Filebrowser doesn't respect directory parameter (Win10-64bit) #4

Closed Naphier closed 7 years ago

Naphier commented 7 years ago

Not sure if this problem is exhibited in other Windows versions, but the directory parameter does nothing. The browser always opens to the last location. Probably an issue with Ookii. Would be nice to get this to work, but if it's an issue with Ookii then it'd be difficult without re-writing that portion of Ookii or writing your own library to handle this.

gkngkc commented 7 years ago

Looks like an Ookii bug. As a workaround i've sent directory as FileName, this should do the work.

Commit 6f29d000225102f83d533787e37419eb6e388842

Naphier commented 7 years ago

Seems to work perfectly. Thanks for that quick turnaround!

gkngkc commented 7 years ago

You're welcome.

Also i forgot SaveFileDialog. Applied same fix for it.

Commit: f15b57a78ca49d92a43485cce73b6b9458ebba38