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

◆ CreateScrollbar()

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

Definition at line 216 of file DefaultControls.cs.

217 {
218 if (!true)
219 {
220 }
221 Type type;
222 Type type2;
223 Type type3;
224 Type type4;
225 if ((type == null || type != null) && (type2 == null || type2 != null) && (type3 == null || type3 != null) && (type4 == null || type4 != null))
226 {
227 GameObject gameObject;
228 gameObject.GetComponent<Image>().type = Image.Type.Sliced;
229 GameObject gameObject2;
230 Image component = gameObject2.GetComponent<Image>();
231 component.type = Image.Type.Sliced;
232 GameObject gameObject3;
233 RectTransform component2 = gameObject3.GetComponent<RectTransform>();
234 RectTransform component3 = gameObject2.GetComponent<RectTransform>();
235 Scrollbar component4 = gameObject.GetComponent<Scrollbar>();
237 component4.targetGraphic = component;
238 return gameObject;
239 }
240 throw new ArrayTypeMismatchException();
241 }
class f__AnonymousType0<< Count > j__TPar

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