Hello,
I am currently trying to spawn some buttons at runtime. For testing purposes the Button transform is just the default NGUI button prefab.
I am using the following code:
var go = NGUITools.AddChild(Parent.gameObject, Button);
Also the parent is just another NGUI element.
Now when executing this code it just creates an empty gameObject. I verified that the Button Prefab is in fact not empty.
Thanks for your help and time
Lukas