Question by
SolarStorm · Jan 14, 2018 at 11:31 AM ·
variableanother scriptaccessing scripts
How to send a variable from one script to another when the script finishes.
Hello everyone. I've made a script on my bullet when it collides it adds 1 point to the variable Hitscore which i try to access with another script.But i keep getting the value 0 which is set at the start of the game on my bullet script.How can i access the variable when it changes to 1? Can anyone give me some pointers on where to continue with my search or what to google. Thanks in advance :)
Comment