diff options
Diffstat (limited to 'Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/GUIGroupScope.cs')
| -rw-r--r-- | Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/GUIGroupScope.cs | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/GUIGroupScope.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/GUIGroupScope.cs new file mode 100644 index 0000000..e8f0413 --- /dev/null +++ b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/GUIGroupScope.cs @@ -0,0 +1,18 @@ +using System; +using UnityEngine; + +namespace UnityEditor +{ + struct GUIGroupScope : IDisposable + { + public GUIGroupScope(Rect position) + { + GUI.BeginGroup(position); + } + + public void Dispose() + { + GUI.EndGroup(); + } + } +} |
