Browse Dialog?

Is it possible to use windows’ browse dialog during game runtime inside the game itself? I need to allow the user to choose his own avatar. And if not possible, what are the steps for creating such thing? Will I have to create from scratch my own file browser or there’s an easier way ?

I just had a quick google, as I have no experience with this in unity :slight_smile: But can see your frustration at getting no answer. I can’t see anyone who has managed to do it using built in dialog, but prehaps this could help :

http://www.unifycommunity.com/wiki/index.php?title=FileBrowser

Yeah, I found that one, but I had a problem with it. It’s using the SelectList script and both of the scripts have strange errors like for example this:

public static bool FileBrowser( ref string location, ref Vector2 directoryScroll, ref Vector2 fileScroll )

The console says it’s expecting a function, but it has found bool. So I can’t get both of the scripts to work :frowning:

You can use UniFileBrowser.

–Eric

Eric, does this support the iDevices?

Worth $5 for me not to have to write my own file browser.

Amm, can I buy it from somewhere else, because I got sort of a problem with PayPal ? I searched it in google, but couldn’t even find that pagethat you, Eric gave.

It does include a separate script that’s changed slightly to compile and work on iDevices, though it still uses the standard desktop interface so it’s not really “native” as far as UI goes, although it can be modified of course.

Hmm, a Google search here on “UniFileBrowser” results in my page as the #1 result, and it even has a link for the appropriate anchor. Anyway, send me a PM and we can arrange some other payment.

–Eric