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

◆ CreatePanel()

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

Definition at line 90 of file DefaultControls.cs.

91 {
92 if (!true)
93 {
94 }
95 Type type;
96 if (type == null || type != null)
97 {
98 GameObject gameObject;
99 RectTransform component = gameObject.GetComponent<RectTransform>();
100 gameObject.GetComponent<Image>().type = Image.Type.Sliced;
101 return gameObject;
102 }
103 throw new ArrayTypeMismatchException();
104 }

References UnityEngine.GameObject.GetComponent().