cara membuat unity objek ui kosong
GameObject myGO = new GameObject("MyGO", typeof(RectTransform),typeof(Button));
Successful Sandpiper
GameObject myGO = new GameObject("MyGO", typeof(RectTransform),typeof(Button));