Advertisement
otorp2

simple signal

Jul 24th, 2016
196
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.15 KB | None | 0 0
  1. var play_button = get_node("PlayButton")
  2.  
  3. func _ready():
  4. play_button.connect("pressed", self, "play")
  5.  
  6. func play():
  7. # Do this.
  8. pass
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement