1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-13 13:31:48 +00:00

GDScript: Fix @export_enum works only with int

This commit is contained in:
Danil Alexeev
2023-01-29 15:07:24 +03:00
parent d01ac9c736
commit d4b78c352f
5 changed files with 58 additions and 5 deletions

View File

@@ -0,0 +1,7 @@
GDTEST_OK
untyped 2 Red,Green,Blue
weak_int 2 Red,Green,Blue
weak_string 4 Red,Green,Blue
hard_int 2 Red,Green,Blue
hard_string 4 Red,Green,Blue
with_values 2 Red:10,Green:20,Blue:30