classref: Sync with current master branch (61598c5)

This commit is contained in:
Godot Organization
2024-08-31 03:20:27 +00:00
parent a4d82aefc9
commit c2cd63bf4e
79 changed files with 2945 additions and 425 deletions
+2 -2
View File
@@ -431,7 +431,7 @@ The example below displays a list of numbers shown as words going from ``ZERO``
}
}
private List<int> _numbers = new();
private Godot.Collections.Array<int> _numbers = new();
public override Godot.Collections.Array<Godot.Collections.Dictionary> _GetPropertyList()
{
@@ -468,7 +468,7 @@ The example below displays a list of numbers shown as words going from ``ZERO``
if (propertyName.StartsWith("number_"))
{
int index = int.Parse(propertyName.Substring("number_".Length));
numbers[index] = value.As<int>();
_numbers[index] = value.As<int>();
return true;
}
return false;