Added Pacore
This commit is contained in:
15
Assets/Pacore/Runtime/Attributes/InspectorCallable.cs
Normal file
15
Assets/Pacore/Runtime/Attributes/InspectorCallable.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
using System;
|
||||
|
||||
namespace PashaBibko.Pacore.Attributes
|
||||
{
|
||||
[AttributeUsage(AttributeTargets.Method)]
|
||||
public class InspectorCallableAttribute : Attribute
|
||||
{
|
||||
public string ButtonName { get; }
|
||||
|
||||
public InspectorCallableAttribute(string name)
|
||||
{
|
||||
ButtonName = name;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user