Definition at line 11 of file ScrollSnapBase.cs.
◆ ChangePage()
void UnityEngine.UI.Extensions.ScrollSnapBase.ChangePage |
( |
int |
page | ) |
|
Added to provide a uniform interface for the ScrollBarHelper
Definition at line 624 of file ScrollSnapBase.cs.
◆ CurrentPageObject() [1/2]
Transform UnityEngine.UI.Extensions.ScrollSnapBase.CurrentPageObject |
( |
| ) |
|
Returns the Transform of the Current page
- Returns
- Currently selected Page Transform
Definition at line 563 of file ScrollSnapBase.cs.
◆ CurrentPageObject() [2/2]
void UnityEngine.UI.Extensions.ScrollSnapBase.CurrentPageObject |
( |
out Transform |
returnObject | ) |
|
Returns the Transform of the Current page in an out parameter for performance
- Parameters
-
returnObject | Currently selected Page Transform |
Definition at line 572 of file ScrollSnapBase.cs.
◆ GoToScreen()
void UnityEngine.UI.Extensions.ScrollSnapBase.GoToScreen |
( |
int |
screenIndex | ) |
|
Function for switching to a specific screen *Note, this is based on a 0 starting index - 0 to x
- Parameters
-
screenIndex | 0 starting index of page to jump to |
Definition at line 360 of file ScrollSnapBase.cs.
◆ NextScreen()
void UnityEngine.UI.Extensions.ScrollSnapBase.NextScreen |
( |
| ) |
|
◆ OnBeginDrag()
void UnityEngine.UI.Extensions.ScrollSnapBase.OnBeginDrag |
( |
PointerEventData |
eventData | ) |
|
◆ OnDrag()
void UnityEngine.UI.Extensions.ScrollSnapBase.OnDrag |
( |
PointerEventData |
eventData | ) |
|
◆ OnEndDrag()
virtual void UnityEngine.UI.Extensions.ScrollSnapBase.OnEndDrag |
( |
PointerEventData |
eventData | ) |
|
|
virtual |
◆ OnPointerClick()
void UnityEngine.UI.Extensions.ScrollSnapBase.OnPointerClick |
( |
PointerEventData |
eventData | ) |
|
◆ PreviousScreen()
void UnityEngine.UI.Extensions.ScrollSnapBase.PreviousScreen |
( |
| ) |
|
◆ SetLerp()
void UnityEngine.UI.Extensions.ScrollSnapBase.SetLerp |
( |
bool |
value | ) |
|
Added to provide a uniform interface for the ScrollBarHelper
Definition at line 616 of file ScrollSnapBase.cs.
◆ StartScreenChange()
void UnityEngine.UI.Extensions.ScrollSnapBase.StartScreenChange |
( |
| ) |
|
Event fires when the user starts to change the page, either via swipe or button.
Definition at line 532 of file ScrollSnapBase.cs.
◆ ChildObjects
GameObject [] UnityEngine.UI.Extensions.ScrollSnapBase.ChildObjects |
◆ FastSwipeThreshold
int UnityEngine.UI.Extensions.ScrollSnapBase.FastSwipeThreshold = 100 |
◆ JumpOnEnable
bool UnityEngine.UI.Extensions.ScrollSnapBase.JumpOnEnable = false |
◆ MaskArea
RectTransform UnityEngine.UI.Extensions.ScrollSnapBase.MaskArea |
◆ MaskBuffer
float UnityEngine.UI.Extensions.ScrollSnapBase.MaskBuffer = 1 |
◆ NextButton
GameObject UnityEngine.UI.Extensions.ScrollSnapBase.NextButton |
◆ PageStep
float UnityEngine.UI.Extensions.ScrollSnapBase.PageStep = 1 |
◆ Pagination
GameObject UnityEngine.UI.Extensions.ScrollSnapBase.Pagination |
◆ PrevButton
GameObject UnityEngine.UI.Extensions.ScrollSnapBase.PrevButton |
◆ RestartOnEnable
bool UnityEngine.UI.Extensions.ScrollSnapBase.RestartOnEnable = false |
◆ StartingScreen
int UnityEngine.UI.Extensions.ScrollSnapBase.StartingScreen = 0 |
◆ SwipeDeltaThreshold
float UnityEngine.UI.Extensions.ScrollSnapBase.SwipeDeltaThreshold = 5.0f |
◆ SwipeVelocityThreshold
int UnityEngine.UI.Extensions.ScrollSnapBase.SwipeVelocityThreshold = 100 |
◆ transitionSpeed
float UnityEngine.UI.Extensions.ScrollSnapBase.transitionSpeed = 7.5f |
◆ UseFastSwipe
Boolean UnityEngine.UI.Extensions.ScrollSnapBase.UseFastSwipe = false |
◆ UseHardSwipe
Boolean UnityEngine.UI.Extensions.ScrollSnapBase.UseHardSwipe = false |
◆ UseParentTransform
bool UnityEngine.UI.Extensions.ScrollSnapBase.UseParentTransform = true |
◆ UseSwipeDeltaThreshold
Boolean UnityEngine.UI.Extensions.ScrollSnapBase.UseSwipeDeltaThreshold = false |
◆ UseTimeScale
Boolean UnityEngine.UI.Extensions.ScrollSnapBase.UseTimeScale = true |
◆ CurrentPage
int UnityEngine.UI.Extensions.ScrollSnapBase.CurrentPage |
|
getset |
◆ OnSelectionChangeEndEvent
◆ OnSelectionChangeStartEvent
◆ OnSelectionPageChangedEvent
The documentation for this class was generated from the following file: