UnityEngine.GUILayoutUtility.EndLayoutGroup C# (CSharp) Method

EndLayoutGroup() static private method

static private EndLayoutGroup ( ) : void
return void
        internal static void EndLayoutGroup()
        {
            if ((Event.current.type != EventType.Layout) && (Event.current.type != EventType.Used))
            {
                GUIDebugger.LogLayoutEndGroup();
            }
            EventType type = Event.current.type;
            current.layoutGroups.Pop();
            current.topLevel = (0 >= current.layoutGroups.Count) ? null : ((GUILayoutGroup) current.layoutGroups.Peek());
        }

Usage Example

コード例 #1
0
ファイル: GUILayout.cs プロジェクト: zvars/UnityCsReference
 // Close a group started with BeginVertical
 public static void EndVertical()
 {
     GUILayoutUtility.EndLayoutGroup();
 }
All Usage Examples Of UnityEngine.GUILayoutUtility::EndLayoutGroup