PlayMaker Feedback > Feature Requests
enum flags and FsmLayerMask?
Igmon:
I don't know if it's been requested or is in your TODO list, but would be nice to have these features:
Currently you can add a dropdown field for enums for an action, any chance we can have a way to declare a field as an enum flag? Sort of like how we can customize an enum as flags in the inspector by creating a customized class inspector.
Also, LayerMask would be handy.
jeanfabre:
Hi,
you mean storing enum and layermask in variables right?
bye,
Jean
kkaul:
Yes support for enum flags like this storing in a variable
--- Code: ---[Flags]
enum EnumFlagTest{
Something1,
Something2,
Something3,...
}
--- End code ---
jeanfabre:
Hi,
FsmEnum is coming with the next version of PlayMaker currently in beta. I am not too sure what [Flags] means in your example tho.
Bye,
Jean
cybervaldez:
I think he meant this:
http://unitypatterns.com/enums-and-flags/
Navigation
[0] Message Index
[#] Next page
Go to full version