克隆游戏对象
//在预设体的位置克隆游戏对象
GameObject go1=Instantiate(cube);
//在固定位置克隆游戏对象
//Quaternion.identity 游戏对象不旋转:Quaternion(0,0,0,0)
GameObject go2 =Instantiate(cube,new Vector3(0,0,5),Quaternion.identity);
销毁游戏对象
Destroy(go1); //直接销毁对象go1
Destroy(go2,3); //停3秒后销毁对象go2
查找游戏对象<