Quantcast
Channel: Questions in topic: "javascipt"
Viewing all articles
Browse latest Browse all 1875

Value gets plus 5 and i didnt even press a button.

$
0
0
My "damagee" value is getting every second + 5 without pressing a button but why ??? var skin:GUISkin; public static var damagee:float = 25; function OnGUI () { GUI.skin = skin; GUI.Label(Rect (40,40,300,100),"Damage : "+ damagee +""); if(GUI.RepeatButton(Rect (345,255,100,30),"Damage + 5")); { damagee = 0; }

Viewing all articles
Browse latest Browse all 1875

Trending Articles



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