Class ScrollablePagination
Example script of how to navigate a ScrollingObjectCollection by pagination. Allows the call to scroll pagination methods from the inspector.
Namespace: Microsoft.MixedReality.Toolkit.Examples.Demos
Assembly: cs.temp.dll.dll
Syntax
public class ScrollablePagination : MonoBehaviour
Properties
ScrollView
The ScrollingObjectCollection to navigate.
Declaration
public ScrollingObjectCollection ScrollView { get; set; }
Property Value
Type | Description |
---|---|
ScrollingObjectCollection |
Methods
ScrollByTier(Int32)
Smoothly moves the scroll container a relative number of tiers of cells.
Declaration
public void ScrollByTier(int amount)
Parameters
Type | Name | Description |
---|---|---|
Int32 | amount |