private void readPlayerUpdate() { string tag = reader.ReadString(); NetworkGamer gamer = findGamerWithTag(tag); Vector3 newPos = reader.ReadVector3(); Vector3 newVel = reader.ReadVector3(); float pitch = reader.ReadSingle(); float yaw = reader.ReadSingle(); RemotePlayer player = gamer.Tag as RemotePlayer; player.receiveNewPacketUpdate(newPos, newVel, pitch, yaw); }