Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR GDSCRIPT

godot saving enum names in variable

print(enum_name.keys()[enum_index])

enum_name -> The name of the Enum
enum_index -> The enum you want to print
 
PREVIOUS NEXT
Tagged: #godot #saving #enum #names #variable
ADD COMMENT
Topic
Name
9+9 =