You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
That topic is pretty similar, however it doesn't land on a standardization for the enum export format. One of the proposals is to define the enum within the export, but that leaves the enum unusable for any other modules.
I'd agree that
enum E {x, y, z}
export(E) var myE
Is a much cleaner format. It removes the value of the enum to have to type in string hints for exports using that enum.
Operating system or device, Godot version, GPU Model and driver (if graphics related):
godot 832a536
Issue description:
Now that godot has enums, it would be really useful to be able to export either enum variables or
a hint for exported ints, something like,
currently we have to do
Steps to reproduce:
Link to minimal example project:
The text was updated successfully, but these errors were encountered: