Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

File browser in Runtime

Discussion in 'Scripting' started by timoshaddix, Sep 13, 2016.

  1. timoshaddix

    timoshaddix

    Joined:
    Jan 7, 2014
    Posts:
    64
    Hello,
    for my intership project i need to load a photo as a texture on a cube.
    The idea is that people can upload their own photos as background via USB.
    So a local file browser is exactly what i need.
    I managed to get a file browser working but it's only avaiable in the Unity editor.

    I was wondering if there was an easy way in runtime too?

    Thanks in advance,

    Timo
     
  2. Cascho01

    Cascho01

    Joined:
    Mar 19, 2010
    Posts:
    1,347
    Searched the asset store?
    A lot of stuff there.
     
  3. tonemcbride

    tonemcbride

    Joined:
    Sep 7, 2010
    Posts:
    1,077
    I've used 'UniFileBrowser' in the past and it works well
     
  4. Kiwasi

    Kiwasi

    Joined:
    Dec 5, 2013
    Posts:
    16,860
    Its pretty straightforward to build your own using the UI system if you are interested. However this is such a generic feature that I'd suggest going to the asset store first.
     
  5. timoshaddix

    timoshaddix

    Joined:
    Jan 7, 2014
    Posts:
    64
    I bought the Native File Browser from the Unity Asset store, works like a charm, thanks!