generated from max/template-unity-project
Update EditorGUIUtils.cs
This commit is contained in:
parent
fbd5a342fb
commit
40c49b076e
@ -17,14 +17,14 @@ public static void HorizontalLine(Color color)
|
|||||||
|
|
||||||
public static void HorizontalLine() => HorizontalLine(horizontalLineColor);
|
public static void HorizontalLine() => HorizontalLine(horizontalLineColor);
|
||||||
|
|
||||||
public class FoldoutHeaderScope : System.IDisposable
|
public struct FoldoutHeaderScope : System.IDisposable
|
||||||
{
|
{
|
||||||
public FoldoutHeaderScope(string label, ref bool foldout)
|
public FoldoutHeaderScope(string label, ref bool foldout)
|
||||||
{
|
{
|
||||||
foldout = EditorGUILayout.BeginFoldoutHeaderGroup(foldout, label);
|
foldout = EditorGUILayout.BeginFoldoutHeaderGroup(foldout, label);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void Dispose()
|
public readonly void Dispose()
|
||||||
{
|
{
|
||||||
EditorGUILayout.EndFoldoutHeaderGroup();
|
EditorGUILayout.EndFoldoutHeaderGroup();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user