Quantcast
Channel: Questions in topic: "selectiongrid"
Viewing all articles
Browse latest Browse all 94

Staggering buttons with GUI.SelectionGrid

$
0
0
I'm trying to offset buttons so they are layed out at a diagonal from each other. Each one corresponds to a different view of the screen; so, it would make sense to use `GUI.SelectionGrid` to have the buttons provide feedback for which screen the user is currently on. Is there anyway to do this with one `SelectionGrid`? I was thinking placing them in a `GUILayout` would be the way to go. If that's the right path would it just take nesting the `SelectionGrid` between `GUILayout.BeginHorizontal` and `BeginVertical`? Here's a screen shot of what I'm attempting to accomplish: ![alt text][1] [1]: /storage/temp/18962-buttonlayout.jpg The `SelectionGrid` just seems like the class I want to use to have selected buttons highlighted.

Viewing all articles
Browse latest Browse all 94

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>