hey :
i have a selection grid in my code with an array and index value as integer (toolbarInt) like this :
toolbarInt=GUI.SelectionGrid(toolbarRect,toolbarInt,faculities,1);
Debug.Log(toolbarInt);
but when i press for example the first button in the selection grid (return 0) and then the second button (return 1) and then go back and press the first one again it return 1 not 0 , i don’t know why , but i don’t have any code that change that index (toolbarInt) ,
any help it will be nice