You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Added skins! Create new skins via "yasirkula-SimpleFileBrowser-UI Skin"
- Added CC0-licensed file icons for common file types
- Files can now have alternating background colors
- File browser remembers the most recently browsed folder even if the application is restarted
Copy file name to clipboardExpand all lines: .github/README.md
+6Lines changed: 6 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -17,6 +17,7 @@
17
17
- Draggable and resizable
18
18
- Ability to choose folders instead of files
19
19
- Supports selecting multiple files/folders
20
+
- Can easily be reskinned
20
21
- Supports runtime permissions on Android M+ and *Storage Access Framework* on Android Q+
21
22
- Optimized using a recycled list view (makes *Instantiate* calls sparingly)
22
23
@@ -133,6 +134,11 @@ To open files or directories in the file browser with a single click (instead of
133
134
134
135
File browser refreshes the list of drives at a regular interval to detect the insertion/removal of USB drives. This interval can be changed via **FileBrowser.DrivesRefreshInterval**. If its value is less than 0, list of drives won't be refreshed. By default, this value is 5 seconds on standalone platforms and -1 on mobile platforms.
135
136
137
+
File browser comes bundled with two premade skins in the *Skins* directory: *LightSkin* and *DarkSkin*. New **UISkin**s can be created via `Assets-Create-yasirkula-SimpleFileBrowser-UI Skin`. A UISkin can be assigned to the file browser in two ways:
138
+
139
+
- By changing *SimpleFileBrowserCanvas* prefab's *Skin* field
140
+
- By changing the value of `FileBrowser.Skin` property from a C# script
141
+
136
142
On Android, file browser requires external storage access to function properly. You can use the following function to check if we have runtime permission to access the external storage:
Copy file name to clipboardExpand all lines: Plugins/SimpleFileBrowser/README.txt
+8Lines changed: 8 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -10,6 +10,11 @@ This plugin helps you show save/load dialogs during gameplay with its uGUI based
10
10
### HOW TO
11
11
The file browser can be shown either as a save dialog or a load dialog. In load mode, the returned path(s) always lead to existing files or folders. In save mode, the returned path(s) can point to non-existing files, as well.
12
12
13
+
File browser comes bundled with two premade skins in the Skins directory: LightSkin and DarkSkin. New UISkins can be created via "Assets-Create-yasirkula-SimpleFileBrowser-UI Skin". A UISkin can be assigned to the file browser in two ways:
14
+
15
+
- By changing SimpleFileBrowserCanvas prefab's Skin field
16
+
- By changing the value of FileBrowser.Skin property from a C# script
17
+
13
18
14
19
### NEW INPUT SYSTEM SUPPORT
15
20
This plugin supports Unity's new Input System but it requires some manual modifications (if both the legacy and the new input systems are active at the same time, no changes are needed):
0 commit comments