Beamable SDK
Public Types | Public Member Functions | Public Attributes | Events | List of all members
Beamable.UnityEngineClone.UI.Extensions.ScrollSnap Class Reference
Inheritance diagram for Beamable.UnityEngineClone.UI.Extensions.ScrollSnap:
Inheritance graph
[legend]
Collaboration diagram for Beamable.UnityEngineClone.UI.Extensions.ScrollSnap:
Collaboration graph
[legend]

Public Types

enum  ScrollDirection { Horizontal , Vertical }
 

Public Member Functions

delegate void PageSnapChange (int page)
 
void UpdateListItemsSize ()
 
void UpdateListItemPositions ()
 
void ResetPage ()
 
void NextScreen ()
 
void PreviousScreen ()
 
int CurrentPage ()
 
void SetLerp (bool value)
 Added to provide a uniform interface for the ScrollBarHelper
 
void ChangePage (int page)
 
void OnBeginDrag (PointerEventData eventData)
 
void OnEndDrag (PointerEventData eventData)
 
void OnDrag (PointerEventData eventData)
 
void StartScreenChange ()
 

Public Attributes

Button NextButton
 
Button PrevButton
 
int ItemsVisibleAtOnce = 1
 
bool AutoLayoutItems = true
 
bool LinkScrolbarSteps = false
 
bool LinkScrolrectScrollSensitivity = false
 
Boolean UseFastSwipe = true
 
int FastSwipeThreshold = 100
 
ScrollDirection direction = ScrollDirection.Horizontal
 

Events

PageSnapChange onPageChange
 

The documentation for this class was generated from the following file: