private static void applyUpsideDownEffect(ref Vector2 paddingVector, ref Vector2 positionVector) { Input.Aim.InvertedY = (Input.GliderMoveY.Inverted = (Input.MoveY.Inverted = ExtendedVariantsModule.Settings.UpsideDown)); paddingVector = zoomLevelVariant.getScreenPosition(paddingVector); if (ExtendedVariantsModule.Settings.UpsideDown) { paddingVector.Y = -paddingVector.Y; positionVector.Y = 90f - (positionVector.Y - 90f); } }
private static void applyUpsideDownEffect(ref Vector2 paddingVector, ref Vector2 positionVector) { Input.Aim.InvertedY = (Input.GliderMoveY.Inverted = (Input.MoveY.Inverted = ExtendedVariantsModule.Settings.UpsideDown)); if (inputFeather != null) { (inputFeather.GetValue(null) as VirtualJoystick).InvertedY = ExtendedVariantsModule.Settings.UpsideDown; } paddingVector = zoomLevelVariant.getScreenPosition(paddingVector); if (ExtendedVariantsModule.Settings.UpsideDown) { paddingVector.Y = -paddingVector.Y; positionVector.Y = 90f - (positionVector.Y - 90f); } }