Search Unity

  1. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice

GUI Texture Sheet of Controls

Discussion in 'UGUI & TextMesh Pro' started by derf, Dec 23, 2016.

  1. derf


    Aug 14, 2011
    I am trying to figure out how to use the following GUI sprite sheet from open game art at

    It is not a standard layout. I got it to work in XNA by creating a bunch of widgets. I am trying something similar with Unity, but having trouble.

    Is there a way to specify what part of the texture to use?

    Do I have to go in and "cut-up" the gui elements?

    Any input would be helpful.
  2. eses


    Feb 26, 2013

    Hi there, there is no standard layout for Unity UI, if you are using the "new" UI.

    You'll just have to import the image, set it to be Sprite (2D and UI) and multiple sprites in one sheet, then edit the slices like you want. If you want to reduce workload, you can place the sprites in grid in image editor (if it's possible), that way you can cut your sheet to for example 64x64 sprites automatically.