Cells that can be used with Unity’s new GUI

Grids flexibility makes it easy to use with various GUI and sprite systems, including Unity’s new GUI system they introduced in Unity 4.6. Up to now, you had to make your own cells to do this, and although it is not difficult to do, it can take a bit of tinkering around before you get it right. In this version, we added three new Cell classes that are specifically meant to be used with Unity’s new GUI system:

  • UIImageCell
  • UITextCell
  • UIImageTextCell

Like other cells, these cells can be used with grid builders (to configure your cells directly in the editor), or from raw code. We provided some example prefabs so that you can see how to set them up – they are very similar to the SpriteCell prefabs.

When you want to use the grid builders, simply add them to the canvas, or any child down the hierarchy. If you want instantiate your grid from code, your grid root (an empty game object that will be parented to all cells) should be on the canvas or any child down the hierarchy.

[button url=”https://gamelogic.co.za/2015/01/12/grids-1-10-is-out/” size=”large”]Find out more about Grids 1.10[/button]

[button url=”https://gamelogic.co.za/grids/buy/” size=”large”]Buy Grids now[/button]

Scroll to Top