removed debug logs from soldier

This commit is contained in:
Gabriel Ksawery Skowron-Rodriguez 2022-05-23 14:32:03 +02:00
parent 530aee0cf8
commit 5ef45955fc
2 changed files with 0 additions and 4 deletions

View File

@ -100,8 +100,6 @@ public class Soldier : Entity
enemiesList.Add(obj);
}
Debug.Log(soldiers.Length);
Debug.Log(enemiesList.Count);
Entity[] enemies = enemiesList.ToArray();
// We have not found enemy yet so the distance to enemy is "infinite"

View File

@ -10,8 +10,6 @@ public class SquadManager : MonoBehaviour
Squad enemySquad;
private void Awake()
{
enemySquad = Instantiate(squadPrefab).GetComponent<Squad>();
enemySquad.gameObject.name = "Enemy Squad";
enemySquad.transform.SetParent(transform);