GithubHelp home page GithubHelp logo

Comments (13)

yvonneradke avatar yvonneradke commented on August 11, 2024 1

It's working now, thank you for your help!

from unitysimplefilebrowser.

yasirkula avatar yasirkula commented on August 11, 2024

By default, files are selected on double click. However, you can change this behaviour by setting FileBrowser.SingleClickMode to true.

from unitysimplefilebrowser.

alitokur avatar alitokur commented on August 11, 2024

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.

yasirkula avatar yasirkula commented on August 11, 2024

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.

alitokur avatar alitokur commented on August 11, 2024

probably, thank you for the help sir 👍

from unitysimplefilebrowser.

yaalisri avatar yaalisri commented on August 11, 2024

Does this work for VR based Unity projects on iOS and Android? Is It possible to render the file picker in worldspace?

from unitysimplefilebrowser.

yasirkula avatar yasirkula commented on August 11, 2024

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.

yvonneradke avatar yvonneradke commented on August 11, 2024

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.

yasirkula avatar yasirkula commented on August 11, 2024

@yvonneradke There are nested GraphicRaycasters in SimpleFileBrowserCanvas. Do you need to change them to work with Meta XR SDK?

from unitysimplefilebrowser.

yvonneradke avatar yvonneradke commented on August 11, 2024

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.

yasirkula avatar yasirkula commented on August 11, 2024

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.

yvonneradke avatar yvonneradke commented on August 11, 2024

@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.

yasirkula avatar yasirkula commented on August 11, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.