Answers for "Can't remove RectTransform because Image (Script), Image (Script) depends on it"

0

Can't remove RectTransform because Image (Script), Image (Script) depends on it

//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);
Posted by: Guest on August-07-2021

Code answers related to "Can't remove RectTransform because Image (Script), Image (Script) depends on it"

Browse Popular Code Answers by Language