mirror of
https://github.com/codewriter-packages/Tri-Inspector.git
synced 2025-01-22 16:28:23 -05:00
21 lines
394 B
C#
21 lines
394 B
C#
using System;
|
|
using System.Diagnostics;
|
|
|
|
namespace TriInspector
|
|
{
|
|
[AttributeUsage(AttributeTargets.Method)]
|
|
[Conditional("UNITY_EDITOR")]
|
|
public sealed class ButtonAttribute : Attribute
|
|
{
|
|
public ButtonAttribute()
|
|
{
|
|
}
|
|
|
|
public ButtonAttribute(string name)
|
|
{
|
|
Name = name;
|
|
}
|
|
|
|
public string Name { get; }
|
|
}
|
|
} |