playtest-unity/playtest/Library/PackageCache/com.unity.timeline@1.7.4/Editor/Utilities/Scopes/GUIGroupScope.cs

19 lines
292 B
C#
Raw Normal View History

2023-06-19 23:21:21 -04:00
using System;
using UnityEngine;
namespace UnityEditor
{
struct GUIGroupScope : IDisposable
{
public GUIGroupScope(Rect position)
{
GUI.BeginGroup(position);
}
public void Dispose()
{
GUI.EndGroup();
}
}
}