File Browser Save/Load UI

!(http://static.wix.com/media/00f132_3740f1a1e4ff3a1f8d46dd65fae14e95.png_srz_39 7_310_75_22_0.50_1.20_0.00_png_srz)

Features:

  • Unity look&feel
  • GUISkin-able
  • Easy to setup and use
  • Highly customizable
  • Image previews
  • Save Load modes
  • Compatible with Unity Free
  • Works in Fullscreen

Check it out in action:

See how easy it is to setup and use:

Try out the demo build (windows):

FileBrowserDemo_Win32.rar

Price: $15

Asset Store Link: http://u3d.as/content/pigasus-games/file-browser-save-load-ui/3rU

Planned Updates:

  • Multiple selection
  • Mobile / touch support

Hi Petrucio!

We just bought your plugin, and the load function doesn’t seem to work well.
Is there something special to do before loading a saved scene?

By the way, good work for your addon.

Thanks.

Ced.

Hi Psyche_RTS, thanks for buying our File Browser! Sorry it took me this long to respond, I only saw your post now.

The Save and Load modes only handle the screenshots automatically - the actual saving and loading must be done by you, using the file names returned by the File Browser. There are some good packages in the asset store to help with that.

I did end up finding a bug in the Load mode that made it return the name of the screenshot file instead of the data file.

I’ll get it fixed in an update next week.

will it work for mobiles? if yes i’m ready to buy this plug in…

@koushik.s:

Right now it doesn’t work on touch-based devices. I plan on adding that to a later version, but I don’t have time to do that in the near future - sorry.

Recently bought this and am generally happy - but I have one question: what to do to get the “Drives” to work? On MacOS and Windows this causes an error: “Unable to access drive %%ROOT%%”.
I have modified some other (minor and unrelated) code in FileBrowser.cs.

Ok, I have managed to get this working on Windows by modifying (adding) some code into the FileBrowser.cs code.
Now to get the Mac side working… Let me know if I can publish the code change here for others.

Thanks for buying, jeroenhmg. I’ll take a look into the %%ROOT%% issue tomorrow and will get back to you then.

Thanks Petrucio, let me know if you want to have a look at my changes (which fixed the issue for Windows)

Sure, you can publish them here - thanks.

I’m not sure I’ll be able to get my hands on a Mac tomorrow - how soon do you need it fixed for MacOS?

MacOS not urgent → client will be running exe on Windows machines.

My change for getting it to work on Windows: in the function SwitchDirectory() replace:

		this.currentDirectory  = Path.GetFullPath(this.newDirectory);

with:

		if (this.newDirectory == "%%ROOT%%") {
			this.currentDirectory = this.newDirectory;
		}
		else {
			this.currentDirectory = Path.GetFullPath(this.newDirectory);
		}

In addition to solve a weird screen corruption (error box related) that was happening when “Drives” was selected I also changed the following in OnGUI() (approximately on line 817):

			string text = this.userError;
			string filename = Path.Combine(this.currentDirectory, this.files[this.selectedFile]);

to:

			string text = this.userError;
			string filename;
			if(this.selectedFile > -1) {
				filename = Path.Combine(this.currentDirectory, this.files[this.selectedFile]);
			}
			else {
				filename = this.currentDirectory;
			}

Thanks for the quick replies by the way, much appreciated.

Thanks for the fixes, much appreciated! :slight_smile:

Hi Petrucio,

Will you be applying the above fixes to the next release? I noticed that the package has not been updated for 7 weeks or so. Just concerned about support before I buy :slight_smile:

Thanks

Paul

I’m on super crunch mode for the GDC since I’m the producer and only programmer at my studio, so:

  1. You should be worried about support because I don’t have much time for it right now.

  2. You shouldn’t be worried about support because I use the FileBrowser EXTENSIVELLY in my project, and so I have a deep interest to fix any issues.

I didn’t update the package yet because:
a. It’s mostly stable, other then the above bug
b. I haven’t got the time to test it under a Mac.

If you buy it and regret it, you’ll get your money back, even if I have to PayPal you myself.

Thanks!

PS: I’ll see if I can find the time to update it this week.

Hi Petrico,

Thanks for replying, and I know how it is :wink:

I may well give it a go this weekend.

Update is live on the Asset Store.

The biggest change is thumbnail caching of the image previews, which will load directories with large images significantly faster after the second time. And some bug fixes and minor improvements.

Great news. Thanks Petrucio!

Hi Petrucio, just purchased. But how do I make the window draggable. It’s pretty a essential feature when building an in-game editor, cos users are supposed to bring up the other gui windows at the same time. :wink:

Hello paraself, thanks for buying!

Since it uses Unity native GUI, and Unity’s GUI isn’t drag-friendly, it currently does not support dragging. Sorry about that.

I use it a lot and I have never really felt the need for it - but you can request a refund if this is a deal breaker for you.