A management script to attach to the Horizontal or Vertical Scroll snaps to enable automatic click navigation.
1 Overview
3 Methods
4 Usage
6 See also
The Pagination Manager enables automatic click navigation for the Pagination features of the Horizontal and Vertical Scroll Snap controls.
The control extends the base Unity ToggleGroup functionality by interlinking the Scroll Snap’s functionality with the ToggleEvents automatically.
Note you still have to set up the child toggles manually and ensure that the number of toggles matches the number of Scroll Snap Children. May extend in the future to automatically generate children from Prefabs.
The properties of the Box Slider control are as follows:
Property | Description |
---|---|
Scroll Snap | The Horizontal or Vertical Scroll Snap control this Pagination is assocated with (overrides base Pagination capability) |
Simply add the “Pagination Manager” component from the Game Component menu in “UI / Extensions / Pagination Manager”. However, you will need to manually assign the Scroll Snap reference.
Note this replaces the inherent pagination feature of the Scroll Snap.
See the “Pagination Manager” example scene in the “HSS-VSS-ScrollSnap” Examples folder
N/A
Credit Brogan King
Sourced from - https://bitbucket.org/UnityUIExtensions/unity-ui-extensions/issues/158/pagination-script