Skip to content

Commit 7040c88

Browse files
docs: Fix Typo in messaging-system (#424)
InvokeServerRpc(MyServerRpc, Random.Range(-50, 50)); "Rpc" should be written in capital letters otherwise an exception will be thrown
1 parent 0e4385a commit 7040c88

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/_docs/the-basics/messaging-system.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public class Example : NetworkedBehaviour
3535
}
3636
else
3737
{
38-
InvokeServerRpc(MyServerRpc, Random.Range(-50, 50));
38+
InvokeServerRpc(MyServerRPC, Random.Range(-50, 50));
3939
}
4040
}
4141
}

0 commit comments

Comments
 (0)