UnityEditor.SpriteUtilityWindow.HandleScrollbars C# (CSharp) Method

HandleScrollbars() protected method

protected HandleScrollbars ( ) : void
return void
        protected void HandleScrollbars()
        {
            Rect position = new Rect(this.m_TextureViewRect.xMin, this.m_TextureViewRect.yMax, this.m_TextureViewRect.width, 16f);
            this.m_ScrollPosition.x = GUI.HorizontalScrollbar(position, this.m_ScrollPosition.x, this.m_TextureViewRect.width, this.maxScrollRect.xMin, this.maxScrollRect.xMax);
            Rect rect2 = new Rect(this.m_TextureViewRect.xMax, this.m_TextureViewRect.yMin, 16f, this.m_TextureViewRect.height);
            this.m_ScrollPosition.y = GUI.VerticalScrollbar(rect2, this.m_ScrollPosition.y, this.m_TextureViewRect.height, this.maxScrollRect.yMin, this.maxScrollRect.yMax);
        }