UnityStandaloneFileBrowser
UnityStandaloneFileBrowser copied to clipboard
It doesnt allow me to upload multiple files?
hi, i want to allow me to upload multiple files. I have tried doing the bool to true but it still accepts only one image. thanks
It depends to build settings platform you are using. With PC, Mac & Linux standalone it works but if you use iOS or Android is not working. I hope they fix it.
@Jazzykhan you can modify codes like this in StandaloneFileBrowser.cs file.
#if UNITY_STANDALONE_OSX
_platformWrapper = new StandaloneFileBrowserMac();
#elif UNITY_STANDALONE_WIN
_platformWrapper = new StandaloneFileBrowserWindows();
#elif UNITY_STANDALONE_LINUX
_platformWrapper = new StandaloneFileBrowserLinux();
#elif UNITY_EDITOR
if (EditorUserBuildSettings.activeBuildTarget == BuildTarget.iOS)
{
_platformWrapper = new StandaloneFileBrowserMac();
}
else
{
_platformWrapper = new StandaloneFileBrowserEditor();
}
#endif
and modify StandaloneFileBrowserMac.cs as below: #if UNITY_STANDALONE_OSX || UNITY_EDITOR
I still have this problem (on macos)