Advertisement
otorp2

incrementing global timer

Nov 27th, 2015
196
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.18 KB | None | 0 0
  1. extends Node2D
  2. var count = 0
  3.  
  4. func _ready():
  5. pass
  6.  
  7. func _on_Timer_timeout(num1,num2):
  8. count = count + 1
  9. #var answer = num1+1
  10. print(count)
  11. # return num1
  12.  
  13. #print(answer)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement