UnityEngine.SliderHandler.ValueForCurrentMousePosition C# (CSharp) 메소드

ValueForCurrentMousePosition() 개인적인 메소드

private ValueForCurrentMousePosition ( ) : float
리턴 float
        private float ValueForCurrentMousePosition()
        {
            if (this.horiz)
            {
                return ((((this.MousePosition() - (this.ThumbRect().width * 0.5f)) / this.ValuesPerPixel()) + this.start) - (this.size * 0.5f));
            }
            return ((((this.MousePosition() - (this.ThumbRect().height * 0.5f)) / this.ValuesPerPixel()) + this.start) - (this.size * 0.5f));
        }