Added Pacore
This commit is contained in:
16
Assets/Pacore/Runtime/Attributes/DetectInspectorChanges.cs
Normal file
16
Assets/Pacore/Runtime/Attributes/DetectInspectorChanges.cs
Normal file
@@ -0,0 +1,16 @@
|
||||
using UnityEngine;
|
||||
using System;
|
||||
|
||||
namespace PashaBibko.Pacore.Attributes
|
||||
{
|
||||
[AttributeUsage(validOn: AttributeTargets.Field)]
|
||||
public sealed class DetectInspectorChangesAttribute : PropertyAttribute
|
||||
{
|
||||
public string ActionName { get; }
|
||||
|
||||
public DetectInspectorChangesAttribute(string function)
|
||||
{
|
||||
ActionName = function;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user