Merge pull request #78264 from magian1127/4.0StringName
C#: Add `PropertyHint.Enum` support to `Array<StringName>`
This commit is contained in:
commit
f8f06d3d38
1 changed files with 1 additions and 1 deletions
|
@ -620,7 +620,7 @@ namespace Godot.SourceGenerators
|
||||||
|
|
||||||
bool isPresetHint = false;
|
bool isPresetHint = false;
|
||||||
|
|
||||||
if (elementVariantType == VariantType.String)
|
if (elementVariantType == VariantType.String || elementVariantType == VariantType.StringName)
|
||||||
isPresetHint = GetStringArrayEnumHint(elementVariantType, exportAttr, out hintString);
|
isPresetHint = GetStringArrayEnumHint(elementVariantType, exportAttr, out hintString);
|
||||||
|
|
||||||
if (!isPresetHint)
|
if (!isPresetHint)
|
||||||
|
|
Loading…
Reference in a new issue