Files
HorrorGame/Assets/scripts/TeleportBoundry.gd

5 lines
61 B
GDScript

extends Area3D
func _on_body_entered(body):
body.respawn()