News

Otherwise, Unity will create new game objects every time we die without cleaning them up and it will take up a lot of system resources. Create a new script and call it ‘DestroyParticle’.
We also need to create a new variable for our character in the ‘Controls’ script, which in this case we can call crystals. That will be an integer, seeing as you can’t collect .3 of a crystal.