All Projects → gkngkc → Unitystandalonefilebrowser

gkngkc / Unitystandalonefilebrowser

Licence: mit
A native file browser for unity standalone platforms

Projects that are alternatives of or similar to Unitystandalonefilebrowser

Unity Webxr Export
Develop and export WebXR experiences using Unity WebGL
Stars: ✭ 130 (-87.03%)
Mutual labels:  unity, unity3d, webgl
3d Game Shaders For Beginners
🎮 A step-by-step guide to implementing SSAO, depth of field, lighting, normal mapping, and more for your 3D game.
Stars: ✭ 11,698 (+1067.47%)
Mutual labels:  unity, unity3d, webgl
Unity Core Project
Core Framework for Unity
Stars: ✭ 42 (-95.81%)
Mutual labels:  unity, unity3d, webgl
Gltfast
glTF runtime loading library for Unity
Stars: ✭ 156 (-84.43%)
Mutual labels:  unity, unity3d, webgl
Unitystationbumper
Video bumper for Unity's live streaming channel.
Stars: ✭ 28 (-97.21%)
Mutual labels:  unity, unity3d
Postprocessingdemo
A demo project used in the post-processing stack presentation at Unite 2017 Tokyo.
Stars: ✭ 21 (-97.9%)
Mutual labels:  unity, unity3d
Savegamepro
A Complete and Powerful Save Game Solution for Unity (Game Engine)
Stars: ✭ 30 (-97.01%)
Mutual labels:  unity, unity3d
Unity 3mx
Load 3MX/3MXB format LOD model files generated by Bentley ContextCapture into Unity.
Stars: ✭ 38 (-96.21%)
Mutual labels:  unity, unity3d
Beaverandfairies
Stars: ✭ 14 (-98.6%)
Mutual labels:  unity, unity3d
Unity Assetpipeline Presentation
Unity project for "A Technical Deep-Dive into Unity's Asset Pipeline" presented at Develop: 2018
Stars: ✭ 31 (-96.91%)
Mutual labels:  unity, unity3d
Ecs Snake
Simple snake game powered by ecs framework.
Stars: ✭ 41 (-95.91%)
Mutual labels:  unity, unity3d
Packedrgbmshader
32-bit packed color format with RGBM encoding for shader use
Stars: ✭ 39 (-96.11%)
Mutual labels:  unity, unity3d
Hsplugins
Various Honey Select plugins
Stars: ✭ 21 (-97.9%)
Mutual labels:  unity, unity3d
Museum
Live coding rig for Channel 18 at SuperDeluxe
Stars: ✭ 30 (-97.01%)
Mutual labels:  unity, unity3d
Pix2pix
Real-time pix2pix implementation with Unity
Stars: ✭ 912 (-8.98%)
Mutual labels:  unity, unity3d
Seido
Visuals for Matsuura Masaya's live performance in Osaka and Tokyo.
Stars: ✭ 31 (-96.91%)
Mutual labels:  unity, unity3d
Minimumaudioplugin
Minimum implementation of a native audio plugin for Unity
Stars: ✭ 33 (-96.71%)
Mutual labels:  unity, unity3d
Flutter Unity View Widget
Embeddable unity game engine view for Flutter. Advance demo here https://github.com/juicycleff/flutter-unity-arkit-demo
Stars: ✭ 961 (-4.09%)
Mutual labels:  unity, unity3d
Easyanimation
一套操作极简轻量的Unity UGUI动画控制小工具,适用于Unity5.x以上
Stars: ✭ 35 (-96.51%)
Mutual labels:  unity, unity3d
Grubo
Audio visual experience with Roland Groovebox MC-101 and the Unity game engine
Stars: ✭ 41 (-95.91%)
Mutual labels:  unity, unity3d

Unity Standalone File Browser

A simple wrapper for native file dialogs on Windows/Mac/Linux.

  • Works in editor and runtime.
  • Open file/folder, save file dialogs supported.
  • Multiple file selection.
  • File extension filter.
  • Mono/IL2CPP backends supported.
  • Linux support by Ricardo Rodrigues.
  • Basic WebGL support.

Download Package

Example usage:

// Open file
var paths = StandaloneFileBrowser.OpenFilePanel("Open File", "", "", false);

// Open file async
StandaloneFileBrowser.OpenFilePanelAsync("Open File", "", "", false, (string[] paths) => {  });

// Open file with filter
var extensions = new [] {
    new ExtensionFilter("Image Files", "png", "jpg", "jpeg" ),
    new ExtensionFilter("Sound Files", "mp3", "wav" ),
    new ExtensionFilter("All Files", "*" ),
};
var paths = StandaloneFileBrowser.OpenFilePanel("Open File", "", extensions, true);

// Save file
var path = StandaloneFileBrowser.SaveFilePanel("Save File", "", "", "");

// Save file async
StandaloneFileBrowser.SaveFilePanelAsync("Save File", "", "", "", (string path) => {  });

// Save file with filter
var extensionList = new [] {
    new ExtensionFilter("Binary", "bin"),
    new ExtensionFilter("Text", "txt"),
};
var path = StandaloneFileBrowser.SaveFilePanel("Save File", "", "MySaveFile", extensionList);

See Sample/BasicSampleScene.unity for more detailed examples.

Mac Screenshot Alt text

Windows Screenshot Alt text

Linux Screenshot Alt text

Notes:

  • Windows

    • Requires .NET 2.0 api compatibility level
    • Async dialog opening not implemented, ..Async methods simply calls regular sync methods.
    • Plugin import settings should be like this;

    Alt text Alt text

  • Mac

    • Sync calls are throws an exception at development build after native panel loses and gains focus. Use async calls to avoid this.

WebGL:

  • Basic upload/download file support.
  • File filter support.
  • Not well tested, probably not much reliable.
  • Since browsers require more work to do file operations, webgl isn't directly implemented to Open/Save calls. You can check CanvasSampleScene.unity and canvas sample scripts for example usages.

Live Demo: https://gkngkc.github.io/

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].