Enum naming convention in the source code #433
-
@OverloadedOrama, what's the preffered enum naming convention? |
Beta Was this translation helpful? Give feedback.
Answered by
OverloadedOrama
Jan 17, 2021
Replies: 1 comment
-
I recommend following the official GDScript style guidelines, so for enums, the name of the enum should be in PascalCase and the names of its members should be in CONSTANT_CASE. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
kleonc
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I recommend following the official GDScript style guidelines, so for enums, the name of the enum should be in PascalCase and the names of its members should be in CONSTANT_CASE.