Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- extends Node2D
- func _ready():
- var tt = Timer.new()
- tt.set_autostart(true)
- tt.set_wait_time(1)
- add_child(tt)
- tt.connect("timeout",self,"breakfast")
- pass
- func breakfast():
- print("bacon")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement