Quantcast
Channel: Answers by "Graham-Dunnett"
Viewing all articles
Browse latest Browse all 959

Answer by Graham Dunnett

$
0
0
The error message says it's line 43 of your HealthBarJava.js. And that it's inside the OnTriggerEnter() function. Your OnTriggerEnter() function only has two real lines of code. Line 43 is using your `damageScript` variable. Nowhere in your code can I see you check if that variable is assigned. Your line 4 looks it up, but how do you know it's been found? Probably worth checking that.

Viewing all articles
Browse latest Browse all 959

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>