blob: b8bc4718bbbfb473c6740deaa90e57ee60c68b4a (
plain) (
tree)
|
|
extends Spatial
signal entered
signal exited
func _on_Inside_body_exited(body:Node):
if $Outside.overlaps_body(body):
emit_signal("exited")
func _on_Outside_body_exited(body:Node):
if $Inside.overlaps_body(body):
emit_signal("entered")
|