15 lines
385 B
C#
15 lines
385 B
C#
using System;
|
|
|
|
namespace NaughtyAttributes
|
|
{
|
|
[AttributeUsage(AttributeTargets.Field, AllowMultiple = true, Inherited = true)]
|
|
public class OnValueChangedAttribute : MetaAttribute
|
|
{
|
|
public string CallbackName { get; private set; }
|
|
|
|
public OnValueChangedAttribute(string callbackName)
|
|
{
|
|
this.CallbackName = callbackName;
|
|
}
|
|
}
|
|
}
|