Comments (13)
It's working now, thank you for your help!
from unitysimplefilebrowser.
By default, files are selected on double click. However, you can change this behaviour by setting FileBrowser.SingleClickMode to true.
from unitysimplefilebrowser.
that is my bad. I ve disabled the button component. now it's working i can select the files. yet I don't understand why my headset acts as a pointer on the file list menu.
from unitysimplefilebrowser.
I haven't implemented any VR input modules for this plugin. Your headset SDK is probably causing the headset to act as a pointer for all UI objects, including FileBrowser.
from unitysimplefilebrowser.
probably, thank you for the help sir 👍
from unitysimplefilebrowser.
Does this work for VR based Unity projects on iOS and Android? Is It possible to render the file picker in worldspace?
from unitysimplefilebrowser.
Since it's created with uGUI, of course! You can place the SimpleFileBrowserCanvas prefab to your scene, change its Canvas Render Mode, position it as you wish and at the beginning of the game (in your script's Start function), deactivate the file browser GameObject. SimpleFileBrowser will now use the SimpleFileBrowserCanvas instance in your scene.
from unitysimplefilebrowser.
Hi!
I have a similar problem but can't seem to find the solution. I'm using the file browser with the meta quest 3 and hand tracking. The hand tracking is done with the Meta XR Interaction SDK. I can click all the buttons and the quick links on the left side of the panel but I cannot interact with the files and folders shown in the right side of the panel at all. Any ideas as to why this happens?
from unitysimplefilebrowser.
@yvonneradke There are nested GraphicRaycasters in SimpleFileBrowserCanvas. Do you need to change them to work with Meta XR SDK?
from unitysimplefilebrowser.
I already deleted the GraphicRaycaster and added a Tracked Device Graphic Raycaster. Since it's working for most of the canvas (expect for the middle right part) I assumed that I might need to change something in the code for this area.
from unitysimplefilebrowser.
Did you perform this operation on the GameObject called "Files"? If so, I'd recommend deleting Canvas and Graphic Raycaster from that GameObject and all the other nested canvases (there are others in there).
from unitysimplefilebrowser.
@yasirkula Sorry to bother you again, but I stumbled upon another problem. I want to use the file browser to open obj files. The problem is that the obj loader needs raw path data, which is not given when I am using SAF, but if I set shouldUseSAF to false, my obj data is not displayed anymore and I cannot select it. Do you have a solution to this problem?
from unitysimplefilebrowser.
You can copy the file to temporaryCachePath via FileBrowserHelpers.CopyFile. You can find an example of this at the end of the example code.
from unitysimplefilebrowser.
Related Issues (20)
- A question about compatibility HOT 4
- file save/load pathes cannot be used on android 13 HOT 1
- Suggestion: Expose DocumentsContract.isChildDocument HOT 3
- Overwrite prompt only works once HOT 3
- MissingReferenceException: The variable m_font of UISkin doesn't exist anymore. HOT 1
- how do you add a link to user sub folder like C:\\Users\<username>\Pictures ? HOT 1
- How to get the SimpleFileBrowserCanvas(Clone) reference after it spawns on my scene in script? HOT 2
- Exclusion not working HOT 1
- Changing skin during runtime throws error HOT 2
- VR Pointer issue when selecting items in File Browser (Oculus/Meta Quest 2) HOT 8
- Android Showing Different Menu HOT 10
- Log Spam: Invalid Unicode Error HOT 6
- WebGL Methods HOT 2
- File Access does not work on quest 2 HOT 3
- Drop Down Text Missing
- GLB and JSON files not appearing Quest Pro HOT 10
- How do I turn off listening for long presses and multiple selections HOT 2
- Whether it supports opening folders on Android phones HOT 1
- Files do not show in playmode HOT 1
- 1.6.6 (git) & 2022.3.23f (windows) — Null Reference Exception HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from unitysimplefilebrowser.