public SyncPlayerInput(int vehicleID, float xinput, float yinput, ProtobufVector3 lookTargetPos)
 {
     VehicleID     = vehicleID;
     Xinput        = xinput;
     Yinput        = yinput;
     LookTargetPos = lookTargetPos;
 }
Esempio n. 2
0
 public SyncVehicle(int vehicleID, ProtobufVector3 vehiclePosition, ProtobufVector3 vehicleVelocity, ProtobufQuaternion vehicleRotation, ProtobufVector3 lookTargetPos)
 {
     VehicleID       = vehicleID;
     VehiclePosition = vehiclePosition;
     VehicleVelocity = vehicleVelocity;
     VehicleRotation = vehicleRotation;
     LookTargetPos   = lookTargetPos;
 }