Destroy();//删除GameObject,Script,组件等,第二个参数为秒,n秒后删除销毁 DestroyImmediate();//第二个参数可以指定true将资源删除,直接销毁
Destroy()标志删除,下一帧或则几秒后才是真的删除。