fin
This commit is contained in:
1 parent
8768909429
commit
3607e63548
9 files changed
+138
-15
No files matched your search
@@ -22,3 +22,10 @@ func _on_trigger(effect: Variant, Object: Variant) -> void:
|
||||
print("Trigger wants to teleport")
|
||||
if Object is Crate:
|
||||
teleportSignal.emit(Object)
|
||||
|
||||
func _on_bullet_hit(body, bullet) -> void:
|
||||
print("GC knows bullet hit")
|
||||
if body is Crate:
|
||||
body.queue_free()
|
||||
bullet.queue_free()
|
||||
|
||||
Reference in new issue
Block a user