Quantcast
Viewing all articles
Browse latest Browse all 94

SelectionGrid: Change the active background texture

Hi, Does anyone know how to change the background texture of an active selectiongrid? I have added a GUIStyle for it and changed a few background textures, like normal, hover, active and focused. Everything works, except for that 'active' only is used when you click it and hold the mouse button, when you release it i get the normal background again. I am guessing i have to change it in the script. Can anyone help me with this? It's pretty hard building a game up from the ground with no experience so any help will be appreciated! Here's an image: ![alt text][1] [1]: http://i35.tinypic.com/29lo188.png As you can see, there is no way of telling that the second item is selected. But when i hove my mouse over the items, you can see the background texture change. Thanks in advance!

Viewing all articles
Browse latest Browse all 94

Trending Articles