Hi all,
I was wondering:
is there any way to get the current x and y values out of GUILayout? As in ‘where am I up to’ on the screen?
This need arises from trying to overlap certain items on purpose in OnGUI. Overall I’m using GUILayout, but using GUI to overlap things, as obviously, GUILayout isn’t designed for this.
For example, I’ve got a GUILayout.BeginVertical(); group containing 3 Labels. I want to know ‘where the last label is’ on the screen, so I can use this position to accurately place another element onto it using plain old GUI.
Any ideas?