|
void | GoTo (MoveInfo info) |
| Function for going to a specific screen. *Note the index is based on a zero-starting index. More...
|
|
void | NextItem () |
| Function for going to the next item *Note the next item is the item to the right of the current item, this is not based on child order More...
|
|
void | PreviousItem () |
| Function for going to the previous item *Note the next item is the item to the left of the current item, this is not based on child order More...
|
|
void | UpdateLayout () |
| Function for recalculating the size of the content & the snap positions, such as when you remove or add a child More...
|
|
void | UpdateLayoutAndMoveTo (MoveInfo info) |
| Recalculates the size of the content & snap positions, and moves to a new item afterwards. More...
|
|
void | OnBeginDrag (PointerEventData ped) |
|
void | OnEndDrag (PointerEventData ped) |
|
◆ GoTo()
void UnityEngine.UI.Extensions.ContentScrollSnapHorizontal.GoTo |
( |
MoveInfo |
info | ) |
|
Function for going to a specific screen. *Note the index is based on a zero-starting index.
- Parameters
-
info | All of the info about how you want it to move |
Definition at line 319 of file ContentScrollSnapHorizontal.cs.
◆ NextItem()
void UnityEngine.UI.Extensions.ContentScrollSnapHorizontal.NextItem |
( |
| ) |
|
Function for going to the next item *Note the next item is the item to the right of the current item, this is not based on child order
Definition at line 406 of file ContentScrollSnapHorizontal.cs.
◆ OnBeginDrag()
void UnityEngine.UI.Extensions.ContentScrollSnapHorizontal.OnBeginDrag |
( |
PointerEventData |
ped | ) |
|
◆ OnEndDrag()
void UnityEngine.UI.Extensions.ContentScrollSnapHorizontal.OnEndDrag |
( |
PointerEventData |
ped | ) |
|
◆ PreviousItem()
void UnityEngine.UI.Extensions.ContentScrollSnapHorizontal.PreviousItem |
( |
| ) |
|
Function for going to the previous item *Note the next item is the item to the left of the current item, this is not based on child order
Definition at line 425 of file ContentScrollSnapHorizontal.cs.
◆ UpdateLayout()
void UnityEngine.UI.Extensions.ContentScrollSnapHorizontal.UpdateLayout |
( |
| ) |
|
Function for recalculating the size of the content & the snap positions, such as when you remove or add a child
Definition at line 443 of file ContentScrollSnapHorizontal.cs.
◆ UpdateLayoutAndMoveTo()
void UnityEngine.UI.Extensions.ContentScrollSnapHorizontal.UpdateLayoutAndMoveTo |
( |
MoveInfo |
info | ) |
|
Recalculates the size of the content & snap positions, and moves to a new item afterwards.
- Parameters
-
info | All of the info about how you want it to move |
Definition at line 453 of file ContentScrollSnapHorizontal.cs.
◆ ignoreInactiveItems
bool UnityEngine.UI.Extensions.ContentScrollSnapHorizontal.ignoreInactiveItems = true |
◆ jumpToItem
bool UnityEngine.UI.Extensions.ContentScrollSnapHorizontal.jumpToItem = false |
◆ lerpTime
float UnityEngine.UI.Extensions.ContentScrollSnapHorizontal.lerpTime = .3f |
◆ nextButton
GameObject UnityEngine.UI.Extensions.ContentScrollSnapHorizontal.nextButton |
◆ pagination
GameObject UnityEngine.UI.Extensions.ContentScrollSnapHorizontal.pagination |
◆ prevButton
GameObject UnityEngine.UI.Extensions.ContentScrollSnapHorizontal.prevButton |
◆ snappingVelocityThreshold
int UnityEngine.UI.Extensions.ContentScrollSnapHorizontal.snappingVelocityThreshold = 50 |
◆ startInfo
◆ ClosestItemIndex
int UnityEngine.UI.Extensions.ContentScrollSnapHorizontal.ClosestItemIndex |
|
get |
◆ CurrentItemChanged
◆ ItemFoundToSnap
◆ ItemSnappedTo
◆ Lerping
bool UnityEngine.UI.Extensions.ContentScrollSnapHorizontal.Lerping |
|
get |
◆ LerpTargetIndex
int UnityEngine.UI.Extensions.ContentScrollSnapHorizontal.LerpTargetIndex |
|
get |
◆ MovementStarted
◆ Moving
bool UnityEngine.UI.Extensions.ContentScrollSnapHorizontal.Moving |
|
get |
◆ Sliding
bool UnityEngine.UI.Extensions.ContentScrollSnapHorizontal.Sliding |
|
get |
The documentation for this class was generated from the following file: