📜  如何在没有错误的情况下销毁预制件? - C# 代码示例

📅  最后修改于: 2022-03-11 14:48:44.840000             🧑  作者: Mango

代码示例1
//You could try making a copy

public GameObject example;


GameObject exampleCopy = example
Instantiate(exampleCopy, //wherever you want)
Destroy(exampleCopy)