Good day! Can someone help me to fix my problem. I have a GUI window and grid. I want to have a clickable image inside my GUI window so when i click the image in my GUI window the building project will appear so i can put it in the game.
I you’re using GUI.SelectionGrid, you got to use the folowing constructor:
static function SelectionGrid (position : Rect, selected : int, images : Texture[], xCount : int, style : GUIStyle) : int
You could supply an array of textures as the third parameter.
I assume you want to load level on image click: Load scene on button press - Questions & Answers - Unity Discussions