how to assign empty object in unity c# 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);