Skip to content

Unity3d UI Grid Raw Image Custom graphic for uGUI Single-object/texture Grid image, excelent for tile-based inventory, with: extrude edges (inner outer) | skip cells | resize rectTransform to fit | valid raycasting for input

License

Notifications You must be signed in to change notification settings

mitay-walle/com.mitay-walle.grid-raw-image

Repository files navigation

Unity3d UI Grid Raw Image

Custom graphic for uGUI. Single-object/texture Grid image, excelent for tile-based (tetris-like) inventory

Youtube usage video

alt text

alt text alt text alt text alt text alt text alt text alt text

Features:

  • 1 texture / 1 GameObject / 1 drawcall
  • skip cells
  • valid raycasting by geometry for input
  • resize rectTransform to fit
  • extrude edges (inner outer)
  • Non-rectangle cells
  • script-based, no custom shader

TODO

  • cell-outline mode
  • shape-outline mode
  • SpriteBorder support

About

Unity3d UI Grid Raw Image Custom graphic for uGUI Single-object/texture Grid image, excelent for tile-based inventory, with: extrude edges (inner outer) | skip cells | resize rectTransform to fit | valid raycasting for input

Topics

Resources

License

Stars

Watchers

Forks

Languages