unity new gameobject instantiate gameobject code example
Example: unity instantiate empty gameobject
GameObject newObj = new GameObject("Name");
Instantiate(newObj, Vector3.zero, Quaternion.identity);
GameObject newObj = new GameObject("Name");
Instantiate(newObj, Vector3.zero, Quaternion.identity);