Skip to content

Commit 7701f54

Browse files
committed
Fixed rpc return value documentation
1 parent 27e8409 commit 7701f54

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ public IEnumerator MyRpcCoroutine()
7272
Debug.LogFormat("The final result was {0}!", response.Value);
7373
}
7474

75+
[ServerRPC]
7576
public float MyRpcWithReturnValue(float x, float y)
7677
{
7778
return x * y;

0 commit comments

Comments
 (0)