unity c# how to clone one gameobject at a spawn point code example
Example: clone gameobject unity c#
public GameObject rootObj;
void Start()
{
GameObject duplicate = Instantiate(rootObj);
}
public GameObject rootObj;
void Start()
{
GameObject duplicate = Instantiate(rootObj);
}