Tri-Inspector/Editor.Samples/Buttons/Buttons_ButtonSample.cs

11 lines
203 B
C#

using TriInspector;
using UnityEngine;
public class Buttons_ButtonSample : ScriptableObject
{
[Button("Click me!")]
private void DoButton()
{
Debug.Log("Button clicked!");
}
}