Quantcast
Channel: Unity Forum
Viewing all articles
Browse latest Browse all 1466670

Variables/Properties not behaving the way Im thinking they do.

$
0
0
Hey everyone,

Im new to scripting and am trying to get this script here

http://pastie.org/9623820

to pull numbers from this scipt here

http://pastie.org/9623818

I am trying to get it to set the stats from the start function but this causes my GuiHandler script to have everything set to 0. The debug.log that are part of the update function of PlayerStats returns "BangER" so i know that its something to do with the way GuiHandler pulls the variables but I'm not sure...

Variables/Properties not behaving the way Im thinking they do.

Viewing all articles
Browse latest Browse all 1466670

Trending Articles



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