UnityStandaloneFileBrowser icon indicating copy to clipboard operation
UnityStandaloneFileBrowser copied to clipboard

It doesnt allow me to upload multiple files?

Open ceojazzy opened this issue 6 years ago • 3 comments
trafficstars

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

ceojazzy avatar Mar 05 '19 11:03 ceojazzy

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.

ersocio avatar Feb 19 '20 09:02 ersocio

@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

caochao avatar Feb 26 '20 04:02 caochao

I still have this problem (on macos)

EthanSK avatar Apr 14 '20 21:04 EthanSK