protected override void Awake() { base.Awake(); _navMeshAgent = GetComponent <NavMeshAgent>(); _weaponModel = GetComponentInChildren <WeaponModel>(); _targets = new List <PlayerModel>(FindObjectsOfType <PlayerModel>()); }
protected override void Awake() { base.Awake(); _navMeshAgent = GetComponent <NavMeshAgent>(); _weaponModel = GetComponentInChildren <WeaponModel>(); }