”RpcTarget.AllViaServer"
Options
Best Answer
-
Hey,
An equivalent would be this RPC signature:
[Rpc(RpcSources.All, RpcTargets.All, InvokeLocal = false)]
It can be called by all players and sent to all player, but it's not executed locally.
Worth mentioning that RPCs in Fusion are mostly case specific and you can and should use state transfer most of the times instead.
-----
Isaac Augusto
Photon Fusion Team
0
Answers
-
Hey,
An equivalent would be this RPC signature:
[Rpc(RpcSources.All, RpcTargets.All, InvokeLocal = false)]
It can be called by all players and sent to all player, but it's not executed locally.
Worth mentioning that RPCs in Fusion are mostly case specific and you can and should use state transfer most of the times instead.
-----
Isaac Augusto
Photon Fusion Team
0