19 lines
292 B
C#
19 lines
292 B
C#
|
using System;
|
||
|
using UnityEngine;
|
||
|
|
||
|
namespace UnityEditor
|
||
|
{
|
||
|
struct GUIGroupScope : IDisposable
|
||
|
{
|
||
|
public GUIGroupScope(Rect position)
|
||
|
{
|
||
|
GUI.BeginGroup(position);
|
||
|
}
|
||
|
|
||
|
public void Dispose()
|
||
|
{
|
||
|
GUI.EndGroup();
|
||
|
}
|
||
|
}
|
||
|
}
|