- Home /
Question by
asdf123 · Dec 03, 2014 at 10:11 PM ·
c#networkingnetworkserializationrpc
Acess server stuff by the client
I managed to make my server serialize and deserialise players position, rotation etc. What I want to do now is, how can I acess it by a client RPC?
On my SpawnPlayer RPC function, I want to make an server RPC to load the player stats and then bring it back to the SpawnPlayer RPC function, my SpawnPlayer function is from the client.
How can I make this ? I'm using a custom class so I can't use it on a RPC.
I'm using unity network and c#.
Comment
Your answer
Follow this Question
Related Questions
Multiplayer Moving Bullet 1 Answer
Networking RPC sends to wrong target 0 Answers
How To Deal With Lingering Prefabs in Multiplayer Scene ? 0 Answers
How can i send a Player list to every Client 0 Answers
RPC and multiplayer networking 2 Answers