Merge pull request #43246 from HaSa1002/docs-lang-5
Docs: Port code examples to C# (M, N, O, P, Q, R)
This commit is contained in:
commit
91dd6da2ff
14 changed files with 420 additions and 107 deletions
|
|
@ -135,10 +135,16 @@
|
|||
</return>
|
||||
<description>
|
||||
Returns a hexadecimal representation of this array as a [String].
|
||||
[codeblock]
|
||||
[codeblocks]
|
||||
[gdscript]
|
||||
var array = PackedByteArray([11, 46, 255])
|
||||
print(array.hex_encode()) # Prints: 0b2eff
|
||||
[/codeblock]
|
||||
[/gdscript]
|
||||
[csharp]
|
||||
var array = new byte[] {11, 46, 255};
|
||||
GD.Print(array.HexEncode()); // Prints: 0b2eff
|
||||
[/csharp]
|
||||
[/codeblocks]
|
||||
</description>
|
||||
</method>
|
||||
<method name="insert">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue