Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- extends Node2D
- func _ready():
- var root = get_parent().get_node("rootnode")
- get_node("Timer1").connect("timeout",root,"on_Timer1_timeout")
- get_node("Timer1").start()
- pass
- func on_Timer1_timeout():
- print("hi")
- pass
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement