unity刪除物體(對象)

新建項目,創建Plane,Sphere,Cube,給Cube添加Rigidbody組件,新建腳本test.cs,代碼如下 using UnityEngine; public class test : MonoBehaviour { void Start() { GameObject sphere = GameObject.Find("Sphere");//在Hi
相關文章
相關標籤/搜索