diff --git a/NarutoEnemy.tscn b/NarutoEnemy.tscn index 2a90ebb..bcf07d9 100644 --- a/NarutoEnemy.tscn +++ b/NarutoEnemy.tscn @@ -7,6 +7,7 @@ [node name="NarutoEnemy" type="Node2D"] script = ExtResource("1_y6vus") +markerPointsParent = [null] [node name="StaticBody2D" type="StaticBody2D" parent="."] position = Vector2(460, 250) diff --git a/Scripts/NarutoEnemy.gd b/Scripts/NarutoEnemy.gd index 9611df7..9d7bd3a 100644 --- a/Scripts/NarutoEnemy.gd +++ b/Scripts/NarutoEnemy.gd @@ -1,6 +1,6 @@ extends Node2D -export Node2D markerPointsParent = null +@export var markerPointsParent = [] # Called when the node enters the scene tree for the first time. func _ready(): pass # Replace with function body.