private bool EnemiesDead()
        {
            foreach (GameObject enemy in wave)
            {
                if (enemy == null)
                {
                    continue;
                }
                LightEnemyBehaviour lebs = enemy.GetComponent <LightEnemyBehaviour>();
                if (lebs != null && lebs.Anim.GetInteger("HP") > 0)
                {
                    return(false);
                }

                RangedBehaviour rb = enemy.GetComponent <RangedBehaviour>();
                if (rb != null && rb.Anim.GetInteger("HP") > 0)
                {
                    return(false);
                }
            }
            return(true);
        }
 // Use this for initialization
 void Start()
 {
     LEB = LightEnemyParent.GetComponent <LightEnemyBehaviour>();
 }