|
hey whenever i touch my screen where i have defined it shoots but takes off a random number sometimes 1 sometimes 4 or 5 here is my code: here is where i call the event: if( ShootTouchPad.IsFingerDown()) { Attack(); and here is the command called: function Attack() { Debug.Log("Shot");
(comments are locked)
|
|
I would do It Like This:
BulletsLeft = BulletsLeft - 1; } would this also fix the minusing more than one bullet per shot?
Apr 25 '12 at 10:41 PM
thommoboy
I think so
Apr 27 '12 at 12:47 PM
programmrzinc
(comments are locked)
|
