public static extern void LogLayoutEndGroup(); public static void LogLayoutEntry(Rect rect, RectOffset margins, GUIStyle style)
// The matching end for BeginLayoutGroup internal static void EndLayoutGroup() { if (current.layoutGroups.Count == 0 || Event.current == null ) { Debug.LogError("EndLayoutGroup: BeginLayoutGroup must be called first."); return; } if (Event.current.type != EventType.Layout && Event.current.type != EventType.Used) { GUIDebugger.LogLayoutEndGroup(); } current.layoutGroups.Pop(); if (0 < current.layoutGroups.Count) { current.topLevel = (GUILayoutGroup)current.layoutGroups.Peek(); } else { current.topLevel = new GUILayoutGroup(); } }