{"id":24014972,"url":"https://github.com/alessthedev/unity-built-in-file-explorer","last_synced_at":"2025-06-20T21:37:33.551Z","repository":{"id":176946295,"uuid":"658253979","full_name":"AlessTheDev/Unity-Built-in-File-Explorer","owner":"AlessTheDev","description":"This is an unity built in file explorer I made for my game, it has basic features like changing path, select files, shortcuts and filters","archived":false,"fork":false,"pushed_at":"2024-05-26T09:25:30.000Z","size":2145,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-25T17:48:49.755Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"ShaderLab","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AlessTheDev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2023-06-25T08:20:30.000Z","updated_at":"2024-08-20T18:06:17.000Z","dependencies_parsed_at":null,"dependency_job_id":"76e4e16c-8bfe-4bda-be8f-6c3073e6aae1","html_url":"https://github.com/AlessTheDev/Unity-Built-in-File-Explorer","commit_stats":null,"previous_names":["alessthedev/unity-built-in-file-explorer"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/AlessTheDev/Unity-Built-in-File-Explorer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlessTheDev%2FUnity-Built-in-File-Explorer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlessTheDev%2FUnity-Built-in-File-Explorer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlessTheDev%2FUnity-Built-in-File-Explorer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlessTheDev%2FUnity-Built-in-File-Explorer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AlessTheDev","download_url":"https://codeload.github.com/AlessTheDev/Unity-Built-in-File-Explorer/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlessTheDev%2FUnity-Built-in-File-Explorer/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261021221,"owners_count":23098312,"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":[],"created_at":"2025-01-08T07:38:22.392Z","updated_at":"2025-06-20T21:37:28.531Z","avatar_url":"https://github.com/AlessTheDev.png","language":"ShaderLab","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Unity-Built-in-File-Explorer\n![File Explorer Preview](https://github.com/AlessTheDev/Unity-Built-in-File-Explorer/blob/main/github/preview.png?raw=true) \u003cbr/\u003e\nThis is an unity built in file explorer I made for my game, it has basic features like changing path, select files, shortcuts and filters\n## Get Started\n1. First of all, [download the package zip file](https://github.com/AlessTheDev/Unity-Built-in-File-Explorer/blob/main/FileExplorerPackage.zip) and extract it\n2. Open the unity package manager andselect the option \"Add project from disk\", then select the package.json file from the unzipped folder\n   \u003cbr/\u003e ![package manager](https://github.com/AlessTheDev/Unity-Built-in-File-Explorer/blob/main/github/package-manager.png?raw=true)\n3. Wait until the installation is completed\n## Set Up\n1. Now that we have installed the package in the project let's drag the **FileExplorer** prefab from the Package folder\n![Package folder](https://github.com/AlessTheDev/Unity-Built-in-File-Explorer/blob/main/github/package-folder.png?raw=true)\n2. Now add the camera to the canvas and add the UI **Event system**\n3. Create an initializer script:\n   ```\n   public class FileExplorerTest : MonoBehaviour\n   {\n       void Start()\n       {\n           FileExplorerManager.Instance.Hide(); //IMPORTANT (Initialize the instance, the gameobject must be active)\n           FileExplorerManager.Instance.Show(); //Call this when you want it to pop up\n       }\n   }\n   ```\n5. Everything should work!\n## Get the selected file\nCreate a script and add a function to handle the selected file, you can access the file path and name\n```\n   public void HandleSelectedFile()\n       {\n           Debug.Log(\"A file has been selected! \" + FileExplorerManager.Instance.GetSelectedFile().filePath);\n       }\n```\nAdd the function to the event system \u003cbr/\u003e\n![On file selected](https://github.com/AlessTheDev/Unity-Built-in-File-Explorer/blob/main/github/on-file-selected.png?raw=true)\n## Costumize\nTo costumize the explorer settings go to the FileExplorer gameobject\n### Extension filter\n![Settings](https://github.com/AlessTheDev/Unity-Built-in-File-Explorer/blob/main/github/settings.png?raw=true) \u003cbr/\u003e\nThis array defines all the allowed extensions, the other files will be ignored, leane the array blank to allow all files extensions\n### Close button\nA boolean shows/hides the close button (in case a user MUST select a file)\n### Icons\n![Icons](https://github.com/AlessTheDev/Unity-Built-in-File-Explorer/blob/main/github/icons.png?raw=true) \u003cbr/\u003e\nIn the FileExplorer gameobject you should be able to find the FileIcons script where you can decide the icons\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falessthedev%2Funity-built-in-file-explorer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falessthedev%2Funity-built-in-file-explorer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falessthedev%2Funity-built-in-file-explorer/lists"}