// Start is called before the first frame update
    void Start()
    {
        aiManager = GetComponent <AIManager>();

        for (int i = 0; i < maxWaves; i++)
        {
            List <GameObject>   wave      = new List <GameObject>();
            ATTACKWAVEBEHAVIOUR behaviour = ATTACKWAVEBEHAVIOUR.RECRUITING;

            attackWaves.Add(wave);
            attackWavesBehaviours.Add(behaviour);
        }
    }
    public void SetMaxWaves(int _num)
    {
        maxWaves = _num;

        if (attackWaves.Count < maxWaves)
        {
            for (int i = attackWaves.Count; i < maxWaves; i++)
            {
                List <GameObject>   wave      = new List <GameObject>();
                ATTACKWAVEBEHAVIOUR behaviour = ATTACKWAVEBEHAVIOUR.RECRUITING;

                attackWaves.Add(wave);
                attackWavesBehaviours.Add(behaviour);
            }
        }
    }