public void SelectSquadOfDefenders()
    {
        // Deselects the button so that the color goes back to its normal color
        EventSystem.current.SetSelectedGameObject(null);

        if (squadPrefab != null)
        {
            if (squadPrefab != defenderSpawner.squad && defenderSpawner.ghostImageSquad != null)
            {
                Destroy(defenderSpawner.ghostImageSquad.gameObject);
            }

            if (squadPrefab != defenderSpawner.squad)
            {
                defenderSpawner.SetSelectedSquad(squadPrefab);
            }
        }
        else if (structurePrefab != null)
        {
            if (structurePrefab != defenderSpawner.structure && defenderSpawner.ghostImageStructure != null)
            {
                Destroy(defenderSpawner.ghostImageStructure.gameObject);
            }

            if (structurePrefab != defenderSpawner.structure)
            {
                defenderSpawner.SetSelectedStructure(structurePrefab);
            }
        }

        defenderSpawner.gameObject.SetActive(true);

        audioManager.PlaySound(audioManager.buttonClickSounds, "WetClick", Vector3.zero);
    }