Search Unity

  1. Unity 2019.1 is now released.
    Dismiss Notice

I Need Help Loading Child Sprites Into An Editor Button

Discussion in 'Extensions & OnGUI' started by IsaacJoshua, Apr 15, 2019.

  1. IsaacJoshua


    Apr 24, 2014
    I’m creating a tool for easily filling tile maps and I am having trouble getting sprites from my resources folder. I have a folder called ‘tiles’ in my resources folder and want to have the script load all the child sprites into an array, currently I am using Resources.loadAll and I am specifying to only load textures and that works to only get the parent sprites, how can I only get the child sprites or use the parent sprite I have to get its children.