unity删除物体(对象)

新建项目,创建Plane,Sphere,Cube,给Cube添加Rigidbody组件,新建脚本test.cs,代码如下 using UnityEngine; public class test : MonoBehaviour { void Start() { GameObject sphere = GameObject.Find("Sphere");//在Hi
相关文章
相关标签/搜索