Como criar um GameObject by Code
GameObject testCube; //insert the gameObject you want
void Start() {
testCube = new GameObject("Test_Cube");//determines name
}
Undercode
GameObject testCube; //insert the gameObject you want
void Start() {
testCube = new GameObject("Test_Cube");//determines name
}