Click or drag to resize

IScrollRectProxy Interface

A delegate used to communicate with a ScrollRect-like component, even if it's not derived from UnityEngine.UI.ScrollRect

Namespace:  frame8.Logic.Misc.Visual.UI
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
C#
public interface IScrollRectProxy

The IScrollRectProxy type exposes the following members.

Properties
  NameDescription
Public propertygameObject
Tha game object which represents the scroll rect. Lowercase, so that monobehaviours won't be forced override it, as they already have this property
Public propertyIsHorizontal
Public propertyIsVertical
Public propertyVelocity
The velocity of the content panel in local UI space (from left to right = positive, from bottom to top = positive)
Top
Methods
  NameDescription
Public methodGetContentSize
The width of the content panel, if the ScrollRect is horizontal (the height, else)
Public methodGetNormalizedPosition
Public methodSetNormalizedPosition
normalizedPosition is exactly the same as the ScrollRect.horizontalNormalizedPosition, if the ScrollRect is horizontal (ScrollRect.verticalNormalizedPosition, else)
Public methodStopMovement
Top
Events
  NameDescription
Public eventScrollPositionChanged
The float parameter has the same format as described in SetNormalizedPosition(Double)
Top
Version Information

Optimized ScrollView Adapter

Supported in: 4.0, 3.0
See Also