classref: Sync with current master branch (89cc635)

This commit is contained in:
Godot Organization
2024-01-06 03:19:33 +00:00
parent 43f0195ba1
commit de1b79e21f
48 changed files with 1056 additions and 621 deletions

View File

@@ -321,7 +321,7 @@ Removes an element from the array by index.
:ref:`int<class_int>` **resize** **(** :ref:`int<class_int>` new_size **)**
Sets the size of the array. If the array is grown, reserves elements at the end of the array. If the array is shrunk, truncates the array to the new size.
Sets the size of the array. If the array is grown, reserves elements at the end of the array. If the array is shrunk, truncates the array to the new size. Calling :ref:`resize<class_PackedInt32Array_method_resize>` once and assigning the new values is faster than adding new elements one by one.
.. rst-class:: classref-item-separator