Variant Constants #6925
bonjorno7
started this conversation in
Engine Core
Replies: 1 comment
-
I could also replace integer constants with variant constants entirely, though that would complicate things with enums. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
While refactoring Color conversions and constants into a module I ran into the issue that classes can have integer constants, but only Variant can have Variant constants.
This PR implements the ability the add Variant constants to any class: godotengine/godot#77293
It affects a lot of the engine, so I'd like to have a discussion about what needs to be done.
Beta Was this translation helpful? Give feedback.
All reactions