UPF/Assets/FirstGearGames/Scripts/EditorRuntime/BitMaskAttribute.cs
2023-02-24 22:14:55 +05:30

19 lines
425 B
C#
Executable File

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