//[PunRPC] //void RPC_KilledPlayer() //{ // gameRecord.AddKill(); //} public void WasKilled() { gameRecord.AddDeath(); //if (pView.IsMine) //{ // pView.RPC("RPC_WasKilled", RpcTarget.All); //} }