Runtime/MinMaxSlider.cs
/// <summary>
/// Returns a values from 0-1 based on this rects world corners
/// </summary>
/// <param name="worldPositionX"></param>
/// <returns></returns>
Returns a values from 0-1 based on this rects world corners
Returns a values from 0 - 1 based on this rects world corners
private float GetValue01(float worldPositionX)
		{
			GetWorldCorners();
			float posX = Mathf.Clamp(worldPositionX, worldCorners[0].x, worldCorners[2].x);
			return GetPercentage(worldCorners[0].x, worldCorners[2].x, posX);
		}
private float GetValue01 ( float worldPositionX ) { GetWorldCorners ( ) ; float posX = Mathf . Clamp ( worldPositionX , worldCorners [ 0 ] . x , worldCorners [ 2 ] . x ) ; return GetPercentage ( worldCorners [ 0 ] . x , worldCorners [ 2 ] . x , posX ) ; }
Returns a values from 0-1 based on this rects world corners
Returns a values from 0 - 1 based on this rects world corners
None
worldPositionX
float
None