Skip to content

Custom Enum Values #130

@LarsGroh

Description

@LarsGroh

I created an enum in the editor and added some values to it.
When I import it and try to access tha values they show up as this:

>>>  from unreal_engine.enums import MyCustomEnum
>>>  ue.log(MyCustomEnum.enum_values())
[u'NewEnumerator0', u'NewEnumerator1', u'NewEnumerator2']

Hence I can only use them as MyCustomEnum.NewEnumerator0, even though the real value names are:
"House", "Tree", "Cat".

Am I doing this wrong?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions