◆ IndexType
◆ MoveInfo() [1/2]
UnityEngine.UI.Extensions.ContentScrollSnapHorizontal.MoveInfo.MoveInfo |
( |
IndexType |
_indexType, |
|
|
int |
_index |
|
) |
| |
Creates a MoveInfo that jumps to the index
- Parameters
-
_indexType | Whether you want to get the child at the index or the snap position at the index |
_index | Where you want it to jump |
Definition at line 583 of file ContentScrollSnapHorizontal.cs.
◆ MoveInfo() [2/2]
UnityEngine.UI.Extensions.ContentScrollSnapHorizontal.MoveInfo.MoveInfo |
( |
IndexType |
_indexType, |
|
|
int |
_index, |
|
|
bool |
_jump, |
|
|
float |
_duration |
|
) |
| |
Creates a MoveInfo
- Parameters
-
_indexType | Whether you want to get the child at the index or the snap position at the index |
_index | Where you want it to jump |
_jump | Whether you want it to jump or lerp to the index |
_duration | How long it takes to lerp to the index |
Definition at line 598 of file ContentScrollSnapHorizontal.cs.
◆ duration
float UnityEngine.UI.Extensions.ContentScrollSnapHorizontal.MoveInfo.duration |
◆ index
int UnityEngine.UI.Extensions.ContentScrollSnapHorizontal.MoveInfo.index |
◆ indexType
IndexType UnityEngine.UI.Extensions.ContentScrollSnapHorizontal.MoveInfo.indexType |
◆ jump
bool UnityEngine.UI.Extensions.ContentScrollSnapHorizontal.MoveInfo.jump |
The documentation for this struct was generated from the following file: