Manages the scene carousel.
◆ OnBeginDrag()
| void ManoMotion.Demos.SceneSelection.OnBeginDrag |
( |
PointerEventData | eventData | ) |
|
|
inline |
◆ OnEndDrag()
| void ManoMotion.Demos.SceneSelection.OnEndDrag |
( |
PointerEventData | eventData | ) |
|
|
inline |
◆ SetPosition()
| void ManoMotion.Demos.SceneSelection.SetPosition |
( |
int | index | ) |
|
|
inline |
◆ Snap()
| void ManoMotion.Demos.SceneSelection.Snap |
( |
int | index | ) |
|
|
inline |
◆ SnapToClosest()
| void ManoMotion.Demos.SceneSelection.SnapToClosest |
( |
| ) |
|
|
inlineprivate |
◆ Start()
| void ManoMotion.Demos.SceneSelection.Start |
( |
| ) |
|
|
inlineprivate |
◆ Update()
| void ManoMotion.Demos.SceneSelection.Update |
( |
| ) |
|
|
inlineprivate |
◆ content
| RectTransform ManoMotion.Demos.SceneSelection.content |
|
private |
◆ contentItemHeight
| float ManoMotion.Demos.SceneSelection.contentItemHeight |
|
private |
◆ contentItems
| SceneOption [] ManoMotion.Demos.SceneSelection.contentItems |
|
private |
◆ contentItemWidth
| float ManoMotion.Demos.SceneSelection.contentItemWidth |
|
private |
◆ currentIndex
| int ManoMotion.Demos.SceneSelection.currentIndex = 0 |
|
private |
◆ isHorizontal
| bool ManoMotion.Demos.SceneSelection.isHorizontal = true |
|
private |
◆ isSnapped
| bool ManoMotion.Demos.SceneSelection.isSnapped = false |
|
private |
◆ layoutGroup
| HorizontalOrVerticalLayoutGroup ManoMotion.Demos.SceneSelection.layoutGroup |
|
private |
◆ OnIndexSelected
| UnityEvent<int> ManoMotion.Demos.SceneSelection.OnIndexSelected |
|
private |
◆ scroll
| ScrollRect ManoMotion.Demos.SceneSelection.scroll |
|
private |
◆ snapForce
| float ManoMotion.Demos.SceneSelection.snapForce = 200f |
|
private |
◆ snapOnStart
| bool ManoMotion.Demos.SceneSelection.snapOnStart = true |
|
private |
◆ CalculatedIndex
| float ManoMotion.Demos.SceneSelection.CalculatedIndex |
|
getprivate |