AlicizaX/Client/Assets/Plugins/OM/Shared/Runtime/Attributes/OM_MinMaxSliderAttribute.cs

20 lines
484 B
C#
Raw Normal View History

2025-11-17 16:56:03 +08:00
using UnityEngine;
namespace OM
{
/// <summary>
/// MinMaxSliderAttribute is used to create a slider in the inspector that allows you to select a range of values.
/// </summary>
public class OM_MinMaxSliderAttribute : PropertyAttribute
{
public readonly float Min;
public readonly float Max;
public OM_MinMaxSliderAttribute(float min, float max)
{
this.Min = min;
this.Max = max;
}
}
}