mirror of
https://github.com/kuhyx/WUT_Computer_Science.git
synced 2026-07-06 19:23:07 +02:00
removed debug logs from soldier
This commit is contained in:
parent
530aee0cf8
commit
5ef45955fc
@ -100,8 +100,6 @@ public class Soldier : Entity
|
|||||||
enemiesList.Add(obj);
|
enemiesList.Add(obj);
|
||||||
}
|
}
|
||||||
|
|
||||||
Debug.Log(soldiers.Length);
|
|
||||||
Debug.Log(enemiesList.Count);
|
|
||||||
Entity[] enemies = enemiesList.ToArray();
|
Entity[] enemies = enemiesList.ToArray();
|
||||||
|
|
||||||
// We have not found enemy yet so the distance to enemy is "infinite"
|
// We have not found enemy yet so the distance to enemy is "infinite"
|
||||||
|
|||||||
@ -10,8 +10,6 @@ public class SquadManager : MonoBehaviour
|
|||||||
Squad enemySquad;
|
Squad enemySquad;
|
||||||
private void Awake()
|
private void Awake()
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
||||||
enemySquad = Instantiate(squadPrefab).GetComponent<Squad>();
|
enemySquad = Instantiate(squadPrefab).GetComponent<Squad>();
|
||||||
enemySquad.gameObject.name = "Enemy Squad";
|
enemySquad.gameObject.name = "Enemy Squad";
|
||||||
enemySquad.transform.SetParent(transform);
|
enemySquad.transform.SetParent(transform);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user