So erstellen Sie leere UI -Objekteinheit
GameObject myGO = new GameObject("MyGO", typeof(RectTransform),typeof(Button));
Successful Sandpiper
GameObject myGO = new GameObject("MyGO", typeof(RectTransform),typeof(Button));