TowerGame/scripts/units/enemy.gd

12 lines
182 B
GDScript3
Raw Normal View History

2025-04-26 16:02:13 +01:00
extends Unit
class_name Enemy
var sighted: bool = true:
set(val):
sighted = val
visible = sighted
func _ready() -> void:
sighted = false
go_to_destination(Vector3(17,1,15))