GameObject GetSpecificEnemyPrefabBasedOnType(GameEnum.EnemyType type)
 {
     for (int i = 0; i < enemyBehaviours.Count; i++)
     {
         if (type == enemyBehaviours[i].GetEnemyType())
         {
             return(enemyBehaviours[i].gameObject);
         }
     }
     return(null);
 }
    void SpawnSpecificTypeEnemy(GameEnum.EnemyType type)
    {
        GameObject enemyPrefab = GetSpecificEnemyPrefabBasedOnType(type);

        SpawnEnemy(enemyPrefab);
    }