Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

I Need Help Loading Child Sprites Into An Editor Button

Discussion in 'Immediate Mode GUI (IMGUI)' started by IsaacJoshua, Apr 15, 2019.

  1. IsaacJoshua

    IsaacJoshua

    Joined:
    Apr 24, 2014
    Posts:
    3
    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.