yasirkula / UnitySimpleFileBrowser

A uGUI based runtime file browser for Unity 3D (draggable and resizable)
MIT License
819 stars 111 forks source link

Can I use It in world Canvas to integrate It in VR? #8

Closed elblogbruno closed 5 years ago

elblogbruno commented 5 years ago

Normally It behaves in camera overlay and I want It to be in world Canvas.

Also there's some way to use it just to see files not load or save? Thanks a lot for everything!

yasirkula commented 5 years ago

You can instantiate an instance of SimpleFileBrowserCanvas in your scene and make it a World Canvas. After adjusting its position, you can apply the changes to prefab.

To just see files, you can disable the Save/Load button (and any other UI elements you find redundant) and apply the changes to prefab, again.

elblogbruno commented 5 years ago

Thanks a lot! I'll try it out

elblogbruno commented 5 years ago

Just got it working perfectly! Thanks a lot for this! https://drive.google.com/file/d/1JUC9MKBfbXxUU3Ax3_o-mLdmbNIi4cTF/view?usp=sharing

yasirkula commented 5 years ago

Glad to hear it :)

elblogbruno commented 5 years ago

Now that I know you are a unity expert, you know how to render a website on a world space canvas?

yasirkula commented 5 years ago

AFAIK, you have to use a plugin for this. You can google "unity webview github" to find some open-source solutions.

elblogbruno commented 5 years ago

Yeah I found one's but they overlay the web on the screen and I haven't found any plugin that renders on world space canvas so I can use it in vr. Thanks anyway!