7 lines
121 B
GDScript3
7 lines
121 B
GDScript3
|
extends Node3D
|
||
|
|
||
|
|
||
|
func _on_area_3d_body_entered(body: Node3D) -> void:
|
||
|
if body is EnemyController:
|
||
|
body.goal_entered()
|