📅  最后修改于: 2022-03-11 14:59:17.134000             🧑  作者: Mango
//You Have to Destroy what ever u want but add .gameobject after
Gameobject x; //x is what ever u want to destory if its ui object u can destory it
Destroy(x.gameobject);