feat: enemies spawn in spawn zones and wander on a graph

This commit is contained in:
Chris
2025-10-24 13:03:16 -04:00
parent f0a99253e5
commit fb515ed1cf
6 changed files with 633 additions and 270 deletions

View File

@@ -5,7 +5,10 @@ using Unity.Netcode;
using UnityEngine;
namespace Reset.Units{
public class Enemy : Unit, ILockOnTarget, IKillable {
public class Enemy : Unit, ILockOnTarget, IKillable{
// Spawn Info
public EnemySpawn relatedSpawner;
// Lock-On
public float lockonTargetRadius{ get; set; } = 10f;
[ShowInInspector]