You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
C#: Add global namespace to grouping property info
This commit is contained in:
@@ -328,15 +328,15 @@ namespace Godot.SourceGenerators
|
||||
|
||||
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(", name: \"")
|
||||
.Append(propertyInfo.Name)
|
||||
.Append("\", hint: (Godot.PropertyHint)")
|
||||
.Append("\", hint: (global::Godot.PropertyHint)")
|
||||
.Append((int)PropertyHint.None)
|
||||
.Append(", hintString: \"")
|
||||
.Append(propertyInfo.HintString)
|
||||
.Append("\", usage: (Godot.PropertyUsageFlags)")
|
||||
.Append("\", usage: (global::Godot.PropertyUsageFlags)")
|
||||
.Append((int)propertyInfo.Usage)
|
||||
.Append(", exported: true));\n");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user