17 lines
277 B
C#
17 lines
277 B
C#
using NaughtyAttributes;
|
|
using UnityEngine;
|
|
|
|
public class Buttons : MonoBehaviour
|
|
{
|
|
[Button]
|
|
public void MethodOne()
|
|
{
|
|
Debug.Log("MethodOne()");
|
|
}
|
|
|
|
[Button("Button Text")]
|
|
private void MethodTwo()
|
|
{
|
|
Debug.Log("MethodTwo()");
|
|
}
|
|
}
|