Skip to content

Commit 5cd76f3

Browse files
committed
Updated performance rpc invoke docs
1 parent 1315486 commit 5cd76f3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ private void Update()
9595
{
9696
writer.WriteInt32Packed(Random.Range(-50, 50));
9797

98-
InvokeClientRpcOnEveryone(MyClientRPC, stream);
98+
InvokeClientRpcOnEveryonePerformance(MyClientRPC, stream);
9999
}
100100
}
101101
}
@@ -107,7 +107,7 @@ private void Update()
107107
{
108108
writer.WriteInt32Packed(Random.Range(-50, 50));
109109

110-
InvokeServerRpc(MyServerRpc, stream);
110+
InvokeServerRpcPerformance(MyServerRpc, stream);
111111
}
112112
}
113113
}

0 commit comments

Comments
 (0)