TowerGame/scripts/units/enemy.gd

12 lines
182 B
GDScript

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))