terraria-cpp2il-methodrecon v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
Loading...
Searching...
No Matches

◆ UpdateBounds()

void UnityEngine.UI.ScrollRect.UpdateBounds ( )
inlineprotected

Definition at line 1134 of file ScrollRect.cs.

1135 {
1136 int num = 1;
1137 Vector2 center = this.viewRect.rect.center;
1138 Vector2 size = this.viewRect.rect.size;
1139 this.m_ViewBounds.m_Extents.y = (float)num;
1140 Bounds bounds = this.GetBounds();
1142 RectTransform content = this.m_Content;
1143 if (num == 0)
1144 {
1145 }
1146 Vector2 pivot = this.m_Content.pivot;
1148 }
class f__AnonymousType0<< Count > j__TPar
ScrollRect.MovementType movementType
Definition ScrollRect.cs:63
ScrollRect.MovementType m_MovementType
Vector2 center
Definition Rect.cs:103
Vector2 size
Definition Rect.cs:206

References UnityEngine.Rect.center, UnityEngine.UI.ScrollRect.content, UnityEngine.UI.ScrollRect.GetBounds(), j__TPar, UnityEngine.UI.ScrollRect.m_Content, UnityEngine.UI.ScrollRect.m_MovementType, UnityEngine.UI.ScrollRect.movementType, UnityEngine.RectTransform.pivot, UnityEngine.RectTransform.rect, UnityEngine.Rect.size, and UnityEngine.UI.ScrollRect.viewRect.

Referenced by UnityEngine.UI.ScrollRect.LateUpdate(), UnityEngine.UI.ScrollRect.OnBeginDrag(), UnityEngine.UI.ScrollRect.OnDrag(), UnityEngine.UI.ScrollRect.OnScroll(), UnityEngine.UI.ScrollRect.SetContentAnchoredPosition(), and UnityEngine.UI.ScrollRect.SetNormalizedPosition().