{"id":13662929,"url":"https://github.com/gkngkc/UnityStandaloneFileBrowser","last_synced_at":"2025-04-25T13:30:46.226Z","repository":{"id":40636977,"uuid":"78368581","full_name":"gkngkc/UnityStandaloneFileBrowser","owner":"gkngkc","description":"A native file browser for unity standalone platforms","archived":false,"fork":false,"pushed_at":"2024-04-29T17:00:00.000Z","size":20352,"stargazers_count":2086,"open_issues_count":98,"forks_count":327,"subscribers_count":73,"default_branch":"master","last_synced_at":"2024-10-29T15:17:34.693Z","etag":null,"topics":["file-browser","file-chooser","gtk","linux","macos","unity","unity3d","webgl","windows"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gkngkc.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-01-08T20:27:36.000Z","updated_at":"2024-10-29T11:38:56.000Z","dependencies_parsed_at":"2023-02-16T03:01:05.938Z","dependency_job_id":"4d3b1cb3-83b0-47d7-aee9-60ae6ff19a4d","html_url":"https://github.com/gkngkc/UnityStandaloneFileBrowser","commit_stats":{"total_commits":46,"total_committers":3,"mean_commits":"15.333333333333334","dds":0.4130434782608695,"last_synced_commit":"04a5d49ed2545556da8a7192e86c69bd47641f10"},"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gkngkc%2FUnityStandaloneFileBrowser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gkngkc%2FUnityStandaloneFileBrowser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gkngkc%2FUnityStandaloneFileBrowser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gkngkc%2FUnityStandaloneFileBrowser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gkngkc","download_url":"https://codeload.github.com/gkngkc/UnityStandaloneFileBrowser/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224003724,"owners_count":17239495,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["file-browser","file-chooser","gtk","linux","macos","unity","unity3d","webgl","windows"],"created_at":"2024-08-02T05:02:12.373Z","updated_at":"2024-11-10T19:30:37.433Z","avatar_url":"https://github.com/gkngkc.png","language":"C#","readme":"# Unity Standalone File Browser\n\nA simple wrapper for native file dialogs on Windows/Mac/Linux.\n\n- Works in editor and runtime.\n- Open file/folder, save file dialogs supported.\n- Multiple file selection.\n- File extension filter.\n- Mono/IL2CPP backends supported.\n- Linux support by [Ricardo Rodrigues](https://github.com/RicardoEPRodrigues).\n- Basic WebGL support.\n\n[Download Package](https://github.com/gkngkc/UnityStandaloneFileBrowser/releases/download/1.2/StandaloneFileBrowser.unitypackage)\n\nExample usage:\n\n```csharp\n// Open file\nvar paths = StandaloneFileBrowser.OpenFilePanel(\"Open File\", \"\", \"\", false);\n\n// Open file async\nStandaloneFileBrowser.OpenFilePanelAsync(\"Open File\", \"\", \"\", false, (string[] paths) =\u003e {  });\n\n// Open file with filter\nvar extensions = new [] {\n    new ExtensionFilter(\"Image Files\", \"png\", \"jpg\", \"jpeg\" ),\n    new ExtensionFilter(\"Sound Files\", \"mp3\", \"wav\" ),\n    new ExtensionFilter(\"All Files\", \"*\" ),\n};\nvar paths = StandaloneFileBrowser.OpenFilePanel(\"Open File\", \"\", extensions, true);\n\n// Save file\nvar path = StandaloneFileBrowser.SaveFilePanel(\"Save File\", \"\", \"\", \"\");\n\n// Save file async\nStandaloneFileBrowser.SaveFilePanelAsync(\"Save File\", \"\", \"\", \"\", (string path) =\u003e {  });\n\n// Save file with filter\nvar extensionList = new [] {\n    new ExtensionFilter(\"Binary\", \"bin\"),\n    new ExtensionFilter(\"Text\", \"txt\"),\n};\nvar path = StandaloneFileBrowser.SaveFilePanel(\"Save File\", \"\", \"MySaveFile\", extensionList);\n```\nSee Sample/BasicSampleScene.unity for more detailed examples.\n\nMac Screenshot\n![Alt text](/Images/sfb_mac.jpg?raw=true \"Mac\")\n\nWindows Screenshot\n![Alt text](/Images/sfb_win.jpg?raw=true \"Win\")\n\nLinux Screenshot\n![Alt text](/Images/sfb_linux.jpg?raw=true \"Win\")\n\nNotes:\n- Windows\n    * Requires .NET 2.0 api compatibility level \n    * Async dialog opening not implemented, ..Async methods simply calls regular sync methods.\n    * Plugin import settings should be like this;\n    \n    ![Alt text](/Images/win_import_1.jpg?raw=true \"Plugin Import Ookii\") ![Alt text](/Images/win_import_2.jpg?raw=true \"Plugin Import System.Forms\")\n    \n- Mac\n    * Sync calls are throws an exception at development build after native panel loses and gains focus. Use async calls to avoid this.\n\nWebGL:\n - Basic upload/download file support.\n - File filter support.\n - Not well tested, probably not much reliable.\n - 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.\n \n Live Demo: https://gkngkc.github.io/\n","funding_links":[],"categories":["Open Source Repositories","C\\#","C#","Script Utility"],"sub_categories":["Utilities"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgkngkc%2FUnityStandaloneFileBrowser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgkngkc%2FUnityStandaloneFileBrowser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgkngkc%2FUnityStandaloneFileBrowser/lists"}