mirror of
https://github.com/godotengine/godot.git
synced 2024-11-27 09:16:35 +08:00
C# Array<StringName> support PropertyHint.Enum
This commit is contained in:
parent
33957aee69
commit
e8aeb6baa0
@ -620,7 +620,7 @@ namespace Godot.SourceGenerators
|
||||
|
||||
bool isPresetHint = false;
|
||||
|
||||
if (elementVariantType == VariantType.String)
|
||||
if (elementVariantType == VariantType.String || elementVariantType == VariantType.StringName)
|
||||
isPresetHint = GetStringArrayEnumHint(elementVariantType, exportAttr, out hintString);
|
||||
|
||||
if (!isPresetHint)
|
||||
|
Loading…
Reference in New Issue
Block a user