Question by
Jayson-Channel · Oct 02, 2021 at 01:46 PM ·
scripting problemmeshscripting beginnereffectdestroygameobject
Destroy shattered objects after being smashed.
Good morning! I am new to coding and I have come to a problem with destroying the objects after the effect.
After using this video to create the effect, I am having problems to destroy the shattered objects afterwards the effect is done. I have done “Destroy(gameobject);” and “Destroy(Find(“name”clone”));”. But it still don’t delete the objects.
Comment
Your answer
Follow this Question
Related Questions
How to create a mesh at a location with code? 1 Answer
How do i make my enemies face the player? 2D 0 Answers
I want to create a simple crafting/combining system, but I have no idea how! 0 Answers
Displaying Text on Touch Event 0 Answers
Need help with pause menu and cursor lock script conflict 1 Answer