Small quick question, is there a reliable way to get the rect from EditorGUILayout.BeginVertical and BeginHorizontal?
Everytime I try to get either of these, it returns both 0 and the actual value of the rect in the same frame causing it to always read 0 when used elsewhere.
private void OnGUI()
{
inspectorRect = EditorGUILayout.BeginVertical("box", GUILayout.ExpandHeight(true));
Debug.Log(inspectorRect);
}
