Unidade instanciada de gameObject vazia
GameObject newObj = new GameObject("Name");
Instantiate(newObj, Vector3.zero, Quaternion.identity);
Logan Press
GameObject newObj = new GameObject("Name");
Instantiate(newObj, Vector3.zero, Quaternion.identity);
objToSpawn = new GameObject("Cool GameObject made from Code");