Merge pull request #47584 from HaSa1002/docs-lang-7
This commit is contained in:
@@ -33,8 +33,8 @@
|
||||
[/gdscript]
|
||||
[csharp]
|
||||
// Array concatenation is not possible with C# arrays, but is with Godot.Collections.Array.
|
||||
var array1 = new Godot.Collections.Array("One", 2);
|
||||
var array2 = new Godot.Collections.Array(3, "Four");
|
||||
var array1 = new Godot.Collections.Array{"One", 2};
|
||||
var array2 = new Godot.Collections.Array{3, "Four"};
|
||||
GD.Print(array1 + array2); // Prints [One, 2, 3, Four]
|
||||
[/csharp]
|
||||
[/codeblocks]
|
||||
|
||||
Reference in New Issue
Block a user