diff --git a/docs/Concepts/Communications/RemoteActions.md b/docs/Concepts/Communications/RemoteActions.md index 08f6af4e4..1acaa200e 100644 --- a/docs/Concepts/Communications/RemoteActions.md +++ b/docs/Concepts/Communications/RemoteActions.md @@ -20,7 +20,7 @@ public class Player : NetworkBehaviour if (!isLocalPlayer) return; if (Input.GetKey(KeyCode.X)) - CmdDropCube(); + CmdDropCube(); } // assigned in inspector @@ -53,7 +53,6 @@ ClientRpc functions must have the prefix “Rpc”. This is a hint when reading ``` cs public class Player : NetworkBehaviour { - [SyncVar] int health; public void TakeDamage(int amount)