Skip to content

Commit a2d2955

Browse files
authored
CSharp example missing return type
1 parent 2886f9b commit a2d2955

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)