Answers for "gd script signals"

0

hwo to fire custom signal in godot

signal is_a_signal
if isasignal:
	emit_signal(is_a_signal)
Posted by: Guest on August-22-2020
0

godot connect signal code

extends Node2D


func _ready():
    $Timer.connect("timeout", self, "_on_Timer_timeout")


func _on_Timer_timeout():
    $Sprite.visible = !$Sprite.visible
Posted by: Guest on September-29-2020

Browse Popular Code Answers by Language