- Home /
Question by
twoface262 · Jan 22, 2012 at 12:30 AM ·
c#networkingrpc
unity c# RPC
Hello, I'm trying to create a rpc within unity c# here is what I'm trying to send networkView.RPC("Die", RPCMode.All,10,viewID) this is for a health system of sorts but I'm lost on this. I'm still a bit "effy" with c# so how would I do something like that? It gets the networkid of the player whose health is 0 they send an RPC to destroy the object within the network. Please help. Thanks!
Comment
Your answer
Follow this Question
Related Questions
Issue with synchronizing NPC Health over the network. 1 Answer
C# OnControllerColliderHit Detection Problems 0 Answers
C# OnMouseExit Kill/Destroy GUILayout Element 1 Answer
How To Deal With Lingering Prefabs in Multiplayer Scene ? 0 Answers
How to check if an object is colliding with another from another script ? 1 Answer