📜  c# clone gameobject unity c# 代码示例

📅  最后修改于: 2022-03-11 14:49:10.350000             🧑  作者: Mango

代码示例1
public GameObject rootObj;

void Start()
{
    GameObject duplicate = Instantiate(rootObj);
}