/// <summary> /// Convert the current value from 'fromUnit' to 'toUnit' /// </summary> public static float Convert(this float value, DistanceUnit fromUnit, DistanceUnit toUnit) { return(FingerGestures.Convert(value, fromUnit, toUnit)); }
/// <summary> /// Convert the current Vector2 from 'fromUnit' to 'toUnit' /// </summary> public static Vector2 Convert(this Vector2 v, DistanceUnit fromUnit, DistanceUnit toUnit) { return(FingerGestures.Convert(v, fromUnit, toUnit)); }