|
void | Refresh () |
|
override void | OnBeginDrag (PointerEventData eventData) |
|
override void | OnDrag (PointerEventData eventData) |
|
override void | OnEndDrag (PointerEventData eventData) |
|
Definition at line 5 of file UIScrollView.cs.
◆ Awake()
override void UIScrollView.Awake |
( |
| ) |
|
|
inlineprotected |
Definition at line 19 of file UIScrollView.cs.
20 {
21 base.Awake();
22 base.inertia = true;
23 base.decelerationRate = 0.02f;
24 Window componentInParent = GetComponentInParent<Window>();
25 if ((
bool)componentInParent && (
bool)componentInParent.
rectStats && componentInParent.
rectStats.gameObject.activeSelf)
26 {
27 RectTransform rectTransform = base.verticalScrollbar.Rect();
28 rectTransform.sizeDelta =
new Vector2(rectTransform.sizeDelta.x, rectTransform.sizeDelta.y + componentInParent.
rectStats.GetComponent<LayoutElement>().minHeight);
29 }
30 }
References Window.rectStats.
◆ LateUpdate()
override void UIScrollView.LateUpdate |
( |
| ) |
|
|
inlineprotected |
◆ OnBeginDrag()
override void UIScrollView.OnBeginDrag |
( |
PointerEventData |
eventData | ) |
|
|
inline |
◆ OnDrag()
override void UIScrollView.OnDrag |
( |
PointerEventData |
eventData | ) |
|
|
inline |
◆ OnEndDrag()
override void UIScrollView.OnEndDrag |
( |
PointerEventData |
eventData | ) |
|
|
inline |
◆ Refresh()
void UIScrollView.Refresh |
( |
| ) |
|
|
inline |
Definition at line 41 of file UIScrollView.cs.
42 {
43 UpdateBounds();
44 base.CalculateLayoutInputHorizontal();
45 base.CalculateLayoutInputVertical();
46 OnRectTransformDimensionsChange();
47 base.SetLayoutVertical();
48 base.LateUpdate();
49 }
◆ disableDrag
bool UIScrollView.disableDrag |
◆ enableHeader
bool UIScrollView.enableHeader |
◆ header
◆ lastSens
float UIScrollView.lastSens |
|
private |
◆ sensitivity
float UIScrollView.sensitivity |
|
static |
◆ sensitivityMulti
float UIScrollView.sensitivityMulti = 1f |
The documentation for this class was generated from the following file: