I am looking to create some functionality that is enum-friendly and allow designers to plug in whatever enum they want essentially. It would be really nice if there was a way to create some type of dropdown variable where they can select any enum type.
Is that possible? What would that look like? If it is possible, what would it look like to use this variable in converting from and to a uint8?
Well, It would be mostly used with connecting UI to various state machines I have that run off of different enums. I kind of figured this might not be possible. There’s no way to do something like TSubClassOf<> or anything like that I assume?
Not with only enums,
what you could do in that case is create a uobject hierarchy that implements the functions used by your state machine and create different behavior with inheritance