Click or drag to resize

ScrollbarFixer8 Class

Fixes ScrollView inertia when the content grows too big. The default method cuts off the inertia in most cases.

Attach it to the Scrollbar and make sure no scrollbars are assigned to the ScrollRect

It also contains a lot of other silky-smooth features

Inheritance Hierarchy
SystemObject
  Object
    Component
      Behaviour
        MonoBehaviour
          frame8.Logic.Misc.Visual.UI.MonoBehavioursScrollbarFixer8

Namespace:  frame8.Logic.Misc.Visual.UI.MonoBehaviours
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
C#
public class ScrollbarFixer8 : MonoBehaviour, 
	IBeginDragHandler, IEventSystemHandler, IEndDragHandler, IDragHandler, IPointerDownHandler, 
	IScrollRectProxy

The ScrollbarFixer8 type exposes the following members.

Constructors
  NameDescription
Public methodScrollbarFixer8
Top
Properties
  NameDescription
Public propertyContent
Public propertyexternalScrollRectProxy
Will be retrieved from the scrollrect. If not found, it can be assigned anytime before the first Update. If not assigned, a default proxy will be used. The purpose of this is to allow custom implementations of ScrollRect to be used
Public propertyIsDragging
Public propertyIsHorizontal
Public propertyIsInitialized
Public propertyIsVertical
Public propertyVelocity
Public propertyViewport
Top
Methods
Events
  NameDescription
Public eventScrollPositionChanged
Not used in this default interface implementation
Top
Fields
Extension Methods
Version Information

Optimized ScrollView Adapter

Supported in: 4.3
See Also