module-inspector/Runtime/ValueModifiers/SmallerThanField.cs

15 lines
373 B
C#

using System;
namespace Module.Inspector
{
[AttributeUsage(AttributeTargets.Field, AllowMultiple = false, Inherited = true)]
public sealed class SmallerThanField : ValueModifierPropertyAttribute
{
public readonly string fieldName;
public SmallerThanField(string fieldName)
{
this.fieldName = fieldName;
}
}
}