Hello, For my game i want to make a script so when my character touches a crystal the crystal will disappear and it will add a number to a variable
I was wondering if anyone would help me out by giving me a script o look at and study or a tutorial on youtube or something like that.
the variable will be called “crystalCount”
the character will be called “player”
the crystal that the player touches will be called “MagicalCrystal”