16 lines
383 B
C#
16 lines
383 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)
|
|
{
|
|
CallbackName = callbackName;
|
|
}
|
|
}
|
|
}
|