Selection-Grid

Author: Bérenger

Description
makes a grid using a texture of your choice, 1 draw call, make the grid in art program, returns integer of button pressed.

Usage
get / make a grid texture representing your buttons. change grid pixels of x an y to those of your grid.