16 lines
307 B
C#
16 lines
307 B
C#
|
using UnityEngine;
|
||
|
|
||
|
[System.AttributeUsage(System.AttributeTargets.Method)]
|
||
|
public class InspectorButtonAttribute : PropertyAttribute
|
||
|
{
|
||
|
public readonly string Name;
|
||
|
|
||
|
public InspectorButtonAttribute()
|
||
|
{
|
||
|
}
|
||
|
|
||
|
public InspectorButtonAttribute(string name)
|
||
|
{
|
||
|
Name = name;
|
||
|
}
|
||
|
}
|