Static RPC
Static RPCs allow you to send data without a NetworkIdentity present!
Last updated
Static RPCs allow you to send data without a NetworkIdentity present!
Last updated
Utilizing statics are super common during your development flow, so why shouldn't you with networking as well!
Now keep in mind that this can be unsafe if you run gameplay logic through it, as we don't have a network identity to check ownership with.
This works with all RPC types such as: ServerRpc, ObserversRPC, TargetRPC. It also works with generic and awaitable RPC's!