Skip to content

Commit 8cd8134

Browse files
authored
Merge pull request #9702 from TAGames/patch-1
CSharp example missing return type
2 parents 041ee1b + a2d2955 commit 8cd8134

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tutorials/scripting/c_sharp/c_sharp_basics.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,7 @@ objects, e.g. when trying to change the X coordinate of a ``Node2D``:
328328
329329
public partial class MyNode2D : Node2D
330330
{
331-
public override _Ready()
331+
public override void _Ready()
332332
{
333333
Position.X = 100.0f;
334334
// CS1612: Cannot modify the return value of 'Node2D.Position' because

0 commit comments

Comments
 (0)