mirror of
https://github.com/vrm-c/UniVRM.git
synced 2026-05-13 22:09:53 -05:00
21 lines
481 B
C#
21 lines
481 B
C#
using System;
|
|
using UnityEditor;
|
|
using UnityEngine;
|
|
|
|
namespace VRM10.MToon10.Editor
|
|
{
|
|
public readonly struct LabelScope : IDisposable
|
|
{
|
|
public LabelScope(string label)
|
|
{
|
|
EditorGUILayout.LabelField(label, EditorStyles.boldLabel);
|
|
EditorGUILayout.BeginVertical(GUI.skin.box);
|
|
}
|
|
|
|
public void Dispose()
|
|
{
|
|
EditorGUILayout.EndVertical();
|
|
EditorGUILayout.Space();
|
|
}
|
|
}
|
|
} |