Unity Instanciate vide GameObject
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");