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

◆ SetLayoutHorizontal()

virtual void UnityEngine.UI.ScrollRect.SetLayoutHorizontal ( )
inlinevirtual

Implements UnityEngine.UI.ILayoutController.

Definition at line 992 of file ScrollRect.cs.

993 {
994 this.UpdateCachedData();
995 if (this.m_HSliderExpand || this.m_VSliderExpand)
996 {
997 RectTransform viewRect = this.viewRect;
998 RectTransform viewRect2 = this.viewRect;
999 RectTransform viewRect3 = this.viewRect;
1000 RectTransform viewRect4 = this.viewRect;
1001 RectTransform viewRect5 = this.viewRect;
1002 LayoutRebuilder.ForceRebuildLayoutImmediate(this.m_Content);
1003 Vector2 center = this.viewRect.rect.center;
1004 Vector2 size = this.viewRect.rect.size;
1005 Bounds bounds = this.GetBounds();
1006 bool vsliderExpand = this.m_VSliderExpand;
1007 if (vsliderExpand)
1008 {
1010 RectTransform viewRect6 = this.viewRect;
1011 float vsliderWidth = this.m_VSliderWidth;
1013 Vector2 sizeDelta = this.viewRect.sizeDelta;
1014 RectTransform content = this.m_Content;
1015 if (!vsliderExpand)
1016 {
1017 }
1018 LayoutRebuilder.ForceRebuildLayoutImmediate(content);
1019 Vector2 center2 = this.viewRect.rect.center;
1020 Vector2 size2 = this.viewRect.rect.size;
1022 Bounds bounds2 = this.GetBounds();
1024 return;
1025 }
1026 }
1027 bool hsliderExpand = this.m_HSliderExpand;
1028 if (hsliderExpand)
1029 {
1031 RectTransform viewRect7 = this.viewRect;
1032 Vector2 sizeDelta2 = this.viewRect.sizeDelta;
1033 float hsliderHeight = this.m_HSliderHeight;
1035 Vector2 center3 = this.viewRect.rect.center;
1036 Vector2 size3 = this.viewRect.rect.size;
1038 Bounds bounds3 = this.GetBounds();
1040 }
1042 Vector2 sizeDelta3 = this.viewRect.sizeDelta;
1043 Vector2 sizeDelta4 = this.viewRect.sizeDelta;
1044 RectTransform viewRect8 = this.viewRect;
1045 float vsliderWidth2 = this.m_VSliderWidth;
1047 Vector2 sizeDelta5 = this.viewRect.sizeDelta;
1048 }
class f__AnonymousType0<< Count > j__TPar

References UnityEngine.Rect.center, UnityEngine.UI.ScrollRect.content, UnityEngine.UI.LayoutRebuilder.ForceRebuildLayoutImmediate(), UnityEngine.UI.ScrollRect.GetBounds(), UnityEngine.UI.ScrollRect.horizontalScrollbarSpacing, UnityEngine.UI.ScrollRect.hScrollingNeeded, j__TPar, UnityEngine.UI.ScrollRect.m_Content, UnityEngine.UI.ScrollRect.m_HorizontalScrollbarSpacing, UnityEngine.UI.ScrollRect.m_HSliderExpand, UnityEngine.UI.ScrollRect.m_HSliderHeight, UnityEngine.UI.ScrollRect.m_VerticalScrollbarSpacing, UnityEngine.UI.ScrollRect.m_VSliderExpand, UnityEngine.UI.ScrollRect.m_VSliderWidth, UnityEngine.RectTransform.rect, UnityEngine.Rect.size, UnityEngine.RectTransform.sizeDelta, UnityEngine.UI.ScrollRect.UpdateCachedData(), UnityEngine.UI.ScrollRect.verticalScrollbarSpacing, UnityEngine.UI.ScrollRect.viewRect, and UnityEngine.UI.ScrollRect.vScrollingNeeded.