mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 02:50:32 +00:00
Updated ReadMe
This commit is contained in:
parent
5d324d35f1
commit
3535728786
@ -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
|
||||
}
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user