Search Unity

Resources.LoadAll ... any way to make it ignore subfolders?

Discussion in 'Scripting' started by Alabatross, Sep 9, 2016.

  1. Alabatross

    Alabatross

    Joined:
    Dec 15, 2012
    Posts:
    223
    Resources.LoadAll is grabbing all assets in my target folder (expected) but it's also giving me every single one in subfolders of my target folder?

    Is this intended behavior? Is there any way to only get all assets in the current folder path only?
     
    SaSha_K likes this.
  2. SaSha_K

    SaSha_K

    Joined:
    Jan 4, 2017
    Posts:
    7
    +1 (I have the same problem)
    Did you find a solution?