19 lines
443 B
C#
19 lines
443 B
C#
|
|
using UnityEngine;
|
|
|
|
namespace FirstGearGames.Utilities.Editors
|
|
{
|
|
|
|
/// <summary>
|
|
/// SOURCE: https://answers.unity.com/questions/1477896/assign-enum-value-from-editorguienumflagsfield.html
|
|
/// </summary>
|
|
public class BitMaskAttribute : PropertyAttribute
|
|
{
|
|
public System.Type propType;
|
|
public BitMaskAttribute(System.Type aType)
|
|
{
|
|
propType = aType;
|
|
}
|
|
}
|
|
|
|
} |