Hi,
I Have a enum on my c++ code and i wanna add this enum as dropdown (or bit mask) to a blueprint pure function.
This is my sample code for testing.
UENUM(Blueprintable)
enum class EAnimationType : uint8
{
Idle,
Walk,
Crouch
};
UCLASS()
class TEST_API UPlayerAnimationInfo : public UObject
{
GENERATED_BODY()
public:
UFUNCTION(BlueprintPure)
static bool HasAnimationType(int32 Value, EAnimationType AnimationType);
};
In parameter of function HasAnimationType, AnimationType show as dropdown in blueprint.