use extension function to change variable value
Is there a way to use an extension method to change a variable to the return value? I have a basic remap function public static float Remap(this float value, float min1, float max1, float min2, float max2) => (value – min1) / (max1 – min1) * (max2 – min2) + min2; distance.Remap(0, 2, 120, 80);… Read More use extension function to change variable value