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

◆ CreateText()

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

Definition at line 131 of file DefaultControls.cs.

132 {
133 if (!true)
134 {
135 }
136 Type type;
137 if (type == null || type != null)
138 {
139 GameObject gameObject;
140 DefaultControls.SetDefaultTextValues(gameObject.GetComponent<Text>());
141 return gameObject;
142 }
143 throw new ArrayTypeMismatchException();
144 }

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