I'd like to use GUILayout items for a HUD thing I'm making, but I need to find the screen coords of the layout items, since Layout moves/sizes things for me. I can get the rect of the containing window, but can I get them for buttons and labels in the window?
1 Answer
1Ah: GUILayoutUtility.GetLastRect()
For my purposes, it seems, I would have to store each in an array so I can get at it in my Update function.
That's what I was going to suggest, but typically you know more about this stuff than I do so I assumed you already explored that avenue. lol
– anon25104582Thanks. I forgot about that Utility class. Google works wonders, easy to forget.
– DaveA