diff --git a/README.md b/README.md index 94ea3e954..359d8b37a 100644 --- a/README.md +++ b/README.md @@ -56,7 +56,7 @@ public class Player : NetworkBehaviour // zero overhead remote calls [Command] void CmdUseItem(int slot) {} // client to server - [Rpc] void RpcRespawn() {} // server to all clients + [ClientRpc] void RpcRespawn() {} // server to all clients [TargetRpc] void Hello() {} // server to one client } ```