NanoPark/Assets/FirstGearGames/Scripts/EditorRuntime/BitMaskAttribute.cs

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;
}
}
}