19 lines
387 B
C#
19 lines
387 B
C#
using UnityEngine;
|
|
|
|
namespace Golems
|
|
{
|
|
// http://wiki.unity3d.com/index.php?title=EnumFlagPropertyDrawer&oldid=19986S
|
|
public class EnumFlagAttribute : PropertyAttribute
|
|
{
|
|
public string AttributeName;
|
|
|
|
public EnumFlagAttribute()
|
|
{
|
|
}
|
|
|
|
public EnumFlagAttribute(string name)
|
|
{
|
|
AttributeName = name;
|
|
}
|
|
}
|
|
} |