BITFALL/Assets/Plugins/Polaris - Low Poly Ecosystem/Polaris - Low Poly Terrain .../Editor/Scripts/Utilities/GGenericMenuItem.cs

21 lines
446 B
C#
Raw Normal View History

2024-03-05 17:34:41 +08:00
#if GRIFFIN
2023-12-30 17:37:48 +08:00
using UnityEditor;
namespace Pinwheel.Griffin
{
public class GGenericMenuItem
{
public string Name { get; set; }
public bool IsOn { get; set; }
public GenericMenu.MenuFunction Action { get; set; }
public GGenericMenuItem(string name, bool isOn, GenericMenu.MenuFunction action)
{
Name = name;
IsOn = isOn;
Action = action;
}
}
}
2024-03-05 17:34:41 +08:00
#endif