summaryrefslogtreecommitdiff
path: root/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/GUIGroupScope.cs
blob: e8f04133d8bb71f4e548bde893cb0246d47705a0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
using System;
using UnityEngine;

namespace UnityEditor
{
    struct GUIGroupScope : IDisposable
    {
        public GUIGroupScope(Rect position)
        {
            GUI.BeginGroup(position);
        }

        public void Dispose()
        {
            GUI.EndGroup();
        }
    }
}