- Edited
- Best Answerset by Toxe
I do it the same way, except that I use UPPER_SNAKE_CASE for enum keys:
enum EnemyType {
UNKNOWN,
BAITER,
That's the convention used by the API enums and the style guide.
https://docs.godotengine.org/en/4.1/classes/class_control.html#enumerations