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

21 lines
446 B
C#

#if GRIFFIN
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;
}
}
}
#endif