Open
Description
Basically, this simple gdscript example can't quite be replicated:
enum Dir { Top = -1, Bottom = 1 }
export(Dir) var dir = Bottom
Since, when defining IntHint::Enum
, you just provide an ordered list of strings, and there's no way to map strings to values. You can still get the result in code with custom setters, but I have a feeling that there's a more direct way to do this by changing the IntHint
struct.