Refer blueprint enum in C++
I have a BP enum:
And I want to create a C++ function that adds a BP node that returns this enum. Something like that:
How can I achieve this?
P.S. My C++ function now:
I do not believe you can refer to non-C++ enums in C++. What you can do is convert your int return value to a byte (ToByte(Integer) in blueprint). You can then drag this byte value into your enum node and it will convert the byte to your enum type.
answered Mar 13 '19 at 01:47 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here