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. Dismiss Notice

Directory.getFiles equivalent for webGL?

Discussion in 'WebGL' started by funy100, Aug 16, 2018.

  1. funy100

    funy100

    Joined:
    Jan 21, 2016
    Posts:
    1
    As the title indicates, is there a way to get a list of the names of all the files in the streaming assets folder?
     
  2. Marco-Trivellato

    Marco-Trivellato

    Unity Technologies

    Joined:
    Jul 9, 2013
    Posts:
    1,654
    I would suggest having a manifest file containing a list of filenames? Though, there might be other ways to do that depending on the server.
     
  3. VirtualPierogi

    VirtualPierogi

    Joined:
    Sep 3, 2012
    Posts:
    54
    that is extremely inconvenient.