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

◆ CreateInputField()

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

Definition at line 276 of file DefaultControls.cs.

277 {
278 if (!true)
279 {
280 }
281 Type type;
282 Type type2;
283 Type type3;
284 Type type4;
285 if ((type == null || type != null) && (type2 == null || type2 != null) && (type3 == null || type3 != null) && (type4 == null || type4 != null))
286 {
287 GameObject gameObject;
288 gameObject.GetComponent<Image>().type = Image.Type.Sliced;
289 InputField component = gameObject.GetComponent<InputField>();
290 GameObject gameObject2;
291 Text component2 = gameObject2.GetComponent<Text>();
292 DefaultControls.SetDefaultTextValues(component2);
293 GameObject gameObject3;
294 Text component3 = gameObject3.GetComponent<Text>();
295 component3.fontStyle = FontStyle.Italic;
296 RectTransform component4 = gameObject2.GetComponent<RectTransform>();
297 RectTransform component5 = gameObject3.GetComponent<RectTransform>();
300 return gameObject;
301 }
302 throw new ArrayTypeMismatchException();
303 }
class f__AnonymousType0<< Count > j__TPar

References UnityEngine.Component.GetComponent(), UnityEngine.GameObject.GetComponent(), j__TPar, and UnityEngine.UI.DefaultControls.SetDefaultTextValues().