Early switch scripts working
This commit is contained in:
15
levels/switch_target.gd
Normal file
15
levels/switch_target.gd
Normal file
@@ -0,0 +1,15 @@
|
||||
extends StaticBody3D
|
||||
|
||||
signal switch_hit()
|
||||
|
||||
# Called when the node enters the scene tree for the first time.
|
||||
func _ready() -> void:
|
||||
pass # Replace with function body.
|
||||
|
||||
|
||||
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
||||
func _process(delta: float) -> void:
|
||||
pass
|
||||
|
||||
func hit():
|
||||
emit_signal("switch_hit")
|
||||
Reference in New Issue
Block a user