I have defined an enum, and I found that I cannot multiselect or select nothing like what I did in Unity.
I assume you want it exposed to the actor of choice to change it in the editor rather than having to manually set it? if so try using a UPROPERTY()
macro to expose it.
here is an example: UPROPERTY(EditAnywhere, BlueprintReadWrite, Category="MyCategory")
int NumberToChange;
this makes it so you can select the actor you want and edit the property on it.
you can find out more on UPROPERTY()
specifiers here
If you define the enum in blueprint, there should be an option to make it a bitmask, if you defined it in C++, you will need to use a meta property to mark it as a bitmask, and associate it with the enum of choice.
For examples, search the engine code for BitmaskEnum and see how they mark a field.
Finally, I solved it. Use an int parameter with UPROPERTY(meta=(BItmask,BitmaskEnum=“Your Enum”));