// ReSharper disable once UnusedParameter.Local
 private void TargetSetPosition(NetworkConnection conn, PlayerState newState)
 {
     transform.position       = newState.Position;
     transform.rotation       = Quaternion.Euler(0, newState.RotationY, 0);
     cameraTransform.rotation = Quaternion.Euler(newState.RotationX, newState.RotationY, 0);
 }
 public void OnServerStateChange(PlayerState oldState, PlayerState newState)
 {
     State = newState;
     stateHandler?.OnStateChange(State);
 }