Tri-Inspector/Editor.Samples/Styling/Styling_InlinePropertySample.cs

18 lines
327 B
C#

using System;
using TriInspector;
using UnityEngine;
public class Styling_InlinePropertySample : ScriptableObject
{
public MinMax rangeFoldout;
[InlineProperty(LabelWidth = 40)]
public MinMax rangeInline;
[Serializable]
public class MinMax
{
public int min;
public int max;
}
}