Workaround for Unity's lack of direct support for compound-type fields as primary fields in MonoBehaviors. Don't use this unless you know what you are doing (it's required by Unity if you're going to use PropertyField and SerializedProperty, but those are very hard to use correctly).
[Serializable] public class FloatEnum<T> where T : Enum
The enum type you'll combine with a float
- (void) FloatEnum(T, Single)