Clone GameObject Unity C#
public GameObject rootObj;
void Start()
{
GameObject duplicate = Instantiate(rootObj);
}
Joyous Jackal
public GameObject rootObj;
void Start()
{
GameObject duplicate = Instantiate(rootObj);
}
public GameObject GameOjectYouWantToClone;
GameObject CloneOfGameOject = Instantiate(GameOjectYouWantToClone);