IEnumerator UnlockRandomCoBow()
    {
        unlockingRandom = true;
        List <ShopBowItem> lockedItems  = shopItems.FindAll((obj) => { return(!obj.BowUnlock); });
        ShopBowItem        randomSelect = null;

        for (int i = 0; i < lockedItems.Count * 2; i++)
        {
            randomSelect = lockedItems[Random.Range(0, lockedItems.Count)];

            if (!randomSelect.selected)
            {
                randomSelect.selected = true;
#if UNITY_ANDROID && !UNITY_EDITOR
                SoundManager.instance.RandomUnlockSFX();
#else
                SoundManager.instance.PlaySingle(RandomUnlockSfx);
#endif
            }
            yield return(new WaitForSeconds(.2f));
        }

        GameManager.Apple     -= UnlockRandomPrice;
        randomSelect.BowUnlock = true;
        randomSelect.UpdateUIColor();
        GameManager.SelectedBowIndex = randomSelect.index;
        UpdateUI();
        unlockingRandom = false;
#if UNITY_ANDROID && !UNITY_EDITOR
        SoundManager.instance.OnUnlockSFX();
#else
        SoundManager.instance.PlaySingle(onUnlocksfx);
#endif
    }
    void SetupShop()
    {
        unlockNowBtn.GetComponentInChildren <Text>().text    = UnlockPrice + "";
        unlockRandomBtn.GetComponentInChildren <Text>().text = UnlockRandomPrice + "";

        shopItems = new List <ShopBowItem>();
        for (int i = 0; i < shopBowList.Count; i++)
        {
            ShopBowItem temp = Instantiate <ShopBowItem>(shopBowPrefab, shopPageContent);
            temp.setup(i, this);
            temp.name = i + "";
            shopItems.Add(temp);
        }

        shopItems[GameManager.SelectedBowIndex].OnClick();
    }