1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-21 14:57:09 +00:00

C#: Add global namespace to grouping property info

This commit is contained in:
Raul Santos
2022-12-07 16:18:13 +01:00
parent d1e5903c67
commit 4788cb35c1

View File

@@ -328,15 +328,15 @@ namespace Godot.SourceGenerators
private static void AppendGroupingPropertyInfo(StringBuilder source, PropertyInfo propertyInfo) private static void AppendGroupingPropertyInfo(StringBuilder source, PropertyInfo propertyInfo)
{ {
source.Append(" properties.Add(new(type: (Godot.Variant.Type)") source.Append(" properties.Add(new(type: (global::Godot.Variant.Type)")
.Append((int)VariantType.Nil) .Append((int)VariantType.Nil)
.Append(", name: \"") .Append(", name: \"")
.Append(propertyInfo.Name) .Append(propertyInfo.Name)
.Append("\", hint: (Godot.PropertyHint)") .Append("\", hint: (global::Godot.PropertyHint)")
.Append((int)PropertyHint.None) .Append((int)PropertyHint.None)
.Append(", hintString: \"") .Append(", hintString: \"")
.Append(propertyInfo.HintString) .Append(propertyInfo.HintString)
.Append("\", usage: (Godot.PropertyUsageFlags)") .Append("\", usage: (global::Godot.PropertyUsageFlags)")
.Append((int)propertyInfo.Usage) .Append((int)propertyInfo.Usage)
.Append(", exported: true));\n"); .Append(", exported: true));\n");
} }