Теперь башня стреляет в первую очеред по ближайшему к дому врагу

This commit is contained in:
2026-06-08 22:46:42 +03:00
parent 14193de8f7
commit 4ba273d4a4
3 changed files with 62 additions and 44 deletions
+2
View File
@@ -39,6 +39,8 @@ public class Enemy : MonoBehaviour
get => _pathService;
set => _pathService = value;
}
public int PathLenght => _path?.Count ?? -1;
public float Health
{