赞
踩
1.Destroy时报错:Destroying assets is not permitted to avoid data loss.
原因:
GameObject a = Instantiate(gameObject) as GameObject; Destroy(a);