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

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
Methods
Events
  NameDescription
Public eventScrollPositionChanged
Not used in this default interface implementation
Top
Fields
  NameDescription
Public fieldautoHide
Public fieldautoHideCollapseEffect
Public fieldautoHideCollapseEffectMinScale
Public fieldautoHideFadeEffect
Public fieldautoHideFadeEffectMinAlpha
Public fieldautoHideTime
Public fieldexternalScrollRectProxy
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 fieldhideWhenNotNeeded
Public fieldminSize
Public fieldOnScrollbarSizeChanged
Public fieldscrollRect
Public fieldsizeUpdateInterval
Public fieldskippedFramesBetweenPositionChanges
Public fieldviewport
Top
Extension Methods
Version Information

Optimized ScrollView Adapter

Supported in: 4.1
See Also