Tri-Inspector/Runtime/Attributes/ValidateInputAttribute.cs
2022-05-07 19:04:09 +03:00

17 lines
389 B
C#

using System;
using System.Diagnostics;
namespace TriInspector
{
[AttributeUsage(AttributeTargets.Field | AttributeTargets.Property)]
[Conditional("UNITY_EDITOR")]
public sealed class ValidateInputAttribute : Attribute
{
public string Method { get; }
public ValidateInputAttribute(string method)
{
Method = method;
}
}
}