Exemplo n.º 1
0
 protected override void OnNetvrkWriteSyncStream(netvrkStream stream)
 {
     stream.Write(player.position);
     stream.Write(player.rotation.eulerAngles.y);
     stream.Write(head.position);
     stream.Write(head.rotation);
     stream.Write(leftHand.position);
     stream.Write(leftHand.rotation);
     stream.Write(rightHand.position);
     stream.Write(rightHand.rotation);
 }
Exemplo n.º 2
0
 protected override void OnNetvrkWriteSyncStream(netvrkStream stream)
 {
     stream.Write(transform.position);
     stream.Write(transform.rotation);
 }