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

◆ SetHorizontal()

override void UnityEngine.GUILayoutGroup.SetHorizontal ( float x,
float width )
inlinevirtual

Reimplemented from UnityEngine.GUILayoutEntry.

Reimplemented in UnityEngine.GUIScrollGroup.

Definition at line 114 of file GUILayoutGroup.cs.

115 {
116 bool flag = this.resetCoords;
117 RectOffset padding = this.m_Style.padding;
118 bool flag2 = this.isVertical;
119 GUIStyle style = this.m_Style;
120 GUIStyle guistyle = GUIStyle.none;
121 if (!flag2)
122 {
123 int left = padding.left;
124 int right = padding.right;
125 if (this.entries._size != 0)
126 {
127 int size = this.entries._size;
128 }
130 float num = this.spacing;
131 float childMinWidth = this.m_ChildMinWidth;
132 float childMaxWidth = this.m_ChildMaxWidth;
133 int size2 = list._size;
135 float minWidth = this.minWidth;
136 float maxWidth = this.maxWidth;
138 int stretchWidth = this.stretchWidth;
139 if (consideredForMargin)
140 {
141 }
142 return;
143 }
145 int left2 = padding.left;
146 int right2 = padding.right;
147 if (this.stretchWidth != 0)
148 {
149 throw new MissingMethodException();
150 }
151 float minWidth2 = this.minWidth;
152 float maxWidth2 = this.maxWidth;
153 throw new MissingMethodException();
154 }
class f__AnonymousType0<< Count > j__TPar
List< GUILayoutEntry > entries
RectOffset padding
Definition GUIStyle.cs:259
static GUIStyle none
Definition GUIStyle.cs:295

References System.Collections.Generic.List< T >._size, j__TPar, UnityEngine.RectOffset.left, System.list, UnityEngine.GUIStyle.none, and UnityEngine.RectOffset.right.