Unity經常使用遊戲基礎功能

生成新的Object public GameObject objectPrefab; GameObject newObject = Instantiate(objectPrefab) as GameObject; //1 GameObject newObject = (GameObject)Instantiate(objectPrefab); //2 Transform newObjec
相關文章
相關標籤/搜索