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

◆ CreateSlider()

static GameObject UnityEngine.UI.DefaultControls.CreateSlider ( DefaultControls::Resources resources)
inlinestatic

Definition at line 177 of file DefaultControls.cs.

178 {
179 if (!true)
180 {
181 }
182 Type type;
183 Type type2;
184 Type type3;
185 Type type4;
186 Type type5;
187 Type type6;
188 if ((type == null || type != null) && (type2 == null || type2 != null) && (type3 == null || type3 != null) && (type4 == null || type4 != null) && (type5 == null || type5 != null) && (type6 == null || type6 != null))
189 {
190 GameObject gameObject;
191 gameObject.GetComponent<Image>().type = Image.Type.Sliced;
192 RectTransform component = gameObject.GetComponent<RectTransform>();
193 GameObject gameObject2;
194 RectTransform component2 = gameObject2.GetComponent<RectTransform>();
195 GameObject gameObject3;
196 gameObject3.GetComponent<Image>().type = Image.Type.Sliced;
197 RectTransform component3 = gameObject3.GetComponent<RectTransform>();
198 GameObject gameObject4;
199 RectTransform component4 = gameObject4.GetComponent<RectTransform>();
200 GameObject gameObject5;
201 Image component5 = gameObject5.GetComponent<Image>();
202 RectTransform component6 = gameObject5.GetComponent<RectTransform>();
203 GameObject gameObject6;
204 Slider component7 = gameObject6.GetComponent<Slider>();
205 RectTransform component8 = gameObject3.GetComponent<RectTransform>();
207 RectTransform component9 = gameObject5.GetComponent<RectTransform>();
210 return gameObject6;
211 }
212 throw new ArrayTypeMismatchException();
213 }
class f__AnonymousType0<< Count > j__TPar

References UnityEngine.Component.GetComponent(), UnityEngine.GameObject.GetComponent(), and j__TPar.