Definition at line 11 of file UIVerticalScroller.cs.
◆ UIVerticalScroller() [1/2]
UnityEngine.UI.Extensions.UIVerticalScroller.UIVerticalScroller |
( |
| ) |
|
Constructor when not used as component but called from other script, don't forget to set the non-optional properties.
Definition at line 57 of file UIVerticalScroller.cs.
◆ UIVerticalScroller() [2/2]
UnityEngine.UI.Extensions.UIVerticalScroller.UIVerticalScroller |
( |
RectTransform |
center, |
|
|
RectTransform |
elementSize, |
|
|
ScrollRect |
scrollRect, |
|
|
GameObject[] |
arrayOfElements |
|
) |
| |
Constructor when not used as component but called from other script
Definition at line 64 of file UIVerticalScroller.cs.
◆ Awake()
void UnityEngine.UI.Extensions.UIVerticalScroller.Awake |
( |
| ) |
|
◆ ScrollDown()
void UnityEngine.UI.Extensions.UIVerticalScroller.ScrollDown |
( |
| ) |
|
◆ ScrollUp()
void UnityEngine.UI.Extensions.UIVerticalScroller.ScrollUp |
( |
| ) |
|
◆ SnapToElement()
void UnityEngine.UI.Extensions.UIVerticalScroller.SnapToElement |
( |
int |
element | ) |
|
◆ Start()
void UnityEngine.UI.Extensions.UIVerticalScroller.Start |
( |
| ) |
|
◆ Update()
void UnityEngine.UI.Extensions.UIVerticalScroller.Update |
( |
| ) |
|
◆ updateChildren()
void UnityEngine.UI.Extensions.UIVerticalScroller.updateChildren |
( |
int |
startingIndex = -1 , |
|
|
GameObject[] |
arrayOfElements = null |
|
) |
| |
Recognises and resizes the children.
- Parameters
-
startingIndex | Starting index. |
arrayOfElements | Array of elements. |
Definition at line 104 of file UIVerticalScroller.cs.
◆ _arrayOfElements
GameObject [] UnityEngine.UI.Extensions.UIVerticalScroller._arrayOfElements |
◆ center
RectTransform UnityEngine.UI.Extensions.UIVerticalScroller.center |
◆ disableUnfocused
bool UnityEngine.UI.Extensions.UIVerticalScroller.disableUnfocused = true |
◆ elementShrinkage
Vector2 UnityEngine.UI.Extensions.UIVerticalScroller.elementShrinkage = new Vector2(1f / 200, 1f / 200) |
◆ elementSize
RectTransform UnityEngine.UI.Extensions.UIVerticalScroller.elementSize |
◆ minScale
Vector2 UnityEngine.UI.Extensions.UIVerticalScroller.minScale = new Vector2(0.7f, 0.7f) |
◆ OnButtonClicked
IntEvent UnityEngine.UI.Extensions.UIVerticalScroller.OnButtonClicked |
◆ OnFocusChanged
IntEvent UnityEngine.UI.Extensions.UIVerticalScroller.OnFocusChanged |
◆ scrollDownButton
GameObject UnityEngine.UI.Extensions.UIVerticalScroller.scrollDownButton |
◆ scrollRect
ScrollRect UnityEngine.UI.Extensions.UIVerticalScroller.scrollRect |
◆ scrollUpButton
GameObject UnityEngine.UI.Extensions.UIVerticalScroller.scrollUpButton |
◆ startingIndex
int UnityEngine.UI.Extensions.UIVerticalScroller.startingIndex = -1 |
◆ stopMomentumOnEnd
bool UnityEngine.UI.Extensions.UIVerticalScroller.stopMomentumOnEnd = true |
◆ focusedElementIndex
int UnityEngine.UI.Extensions.UIVerticalScroller.focusedElementIndex |
|
get |
◆ result
string UnityEngine.UI.Extensions.UIVerticalScroller.result |
|
get |
◆ scrollingPanel
RectTransform UnityEngine.UI.Extensions.UIVerticalScroller.scrollingPanel |
|
get |
The documentation for this class was generated from the following file: