evershade/Packages/super-tiled2unity.v2.2.0/Editor/GUI/GuiScopedIndent.cs

19 lines
312 B
C#

using System;
using UnityEditor;
namespace SuperTiled2Unity.Editor
{
public class GuiScopedIndent : IDisposable
{
public GuiScopedIndent()
{
EditorGUI.indentLevel++;
}
public void Dispose()
{
EditorGUI.indentLevel--;
}
}
}