[C++] Create custom, editor editable Enum
For some reasons, I'm trying a create a new Enum class. I need this class to act exactly like the one when you do Right click-> Blueprint -> Enum. I need to be able to add my enum values from the editor.
I have some programing skills, being a web developer as my day job, but my C++ is rusty and even more my UE4 specific C++.
I've look on the Internet all around and couldn't find any help...
I tried creating a new class that extends UUserDefinedEnum and I excepted it to do at least the same thing as the parent one, but I can't use it at all in the editor.
Any tips to point me in the right direction ?
asked Jul 09 '15 at 08:26 AM in C++ Programming
This is a tutorial about enum : how to create it in C++, where to create it.
If something is not clear just ask :)
I am not sure to have understand fully what you want to do. What do you want to do exactly ? What is supposed to be the result ?
I am now on the street so I am writing this code by my memory.
Hi, I'm sorry for disturbing you since this is an question asked about 4 years ago, maybe you won't need this answer now, but I still want to post my answer here for those who have the same problem just like me. Unreal does support Blueprint editable C++ enums, if you can't edit you enum in blueprint anyway, check if ENUM(BlueprintType) presents and your enum is NOT A CONST variable/parameter when exposed to blueprint(this is what I ever did).
answered Jun 06 '19 at 09:30 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here