Beamable SDK
Public Types | Public Member Functions | Public Attributes | Events | List of all members
UnityEngine.UI.Extensions.ScrollSnap Class Reference
Inheritance diagram for UnityEngine.UI.Extensions.ScrollSnap:
Inheritance graph
[legend]
Collaboration diagram for UnityEngine.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 More...
 
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
 

Member Function Documentation

◆ SetLerp()

void UnityEngine.UI.Extensions.ScrollSnap.SetLerp ( bool  value)
inline

Added to provide a uniform interface for the ScrollBarHelper


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