How to pass enum in function?

You can’t use that enumeration in a UFUNCTION since it’s not declared with the UENUM macro. If you declare a function and skip the UFUNCTION macro it should work fine (as in like standard C++).

1 Like