in Programmingif(Enemy.Distance < 10) Enemy.Attack(); by Programmer December 25, 2022, 1:35 pm 1.3k Views if(Enemy.Distance < 10) Enemy.Attack();ContentEnemy LookAt (player); Enemy.MoveForward0; Unity Developer Is this Artificial Intelligence? Next post