示例#1
0
    public void EventShopAllPackClose()
    {
        Debug.Log("EventBuyItemPopupClose");
        ev.EventOnRelease();
        if (ev.isCurPrevDist)
        {
            audioSource.clip = menuClip; audioSource.Play();

            ShopAllPackPopup.SetActive(false);
            PopupBg4.SetActive(false);

            shopAllPackPopupAnimator.SetBool("isSmallLargeScale2", false);
        }
        g.isPopupPurchaseShow = false;
    }
示例#2
0
    //----------------------------------------------------------------------
    //                          ShopAllPackItem
    //----------------------------------------------------------------------
    public void EventShopAllPack()
    {
        Debug.Log("EventShopAllPack");

        ev.EventOnRelease();
        if (ev.isCurPrevDist)
        {
            audioSource.clip = menuClip; audioSource.Play();
            ShopAllPackPopup.SetActive(true);
            g.isPopupPurchaseShow = true;

            PopupBg4.SetActive(true);

            shopAllPackPopupAnimator.speed = 2;
            shopAllPackPopupAnimator.SetBool("isSmallLargeScale2", true);
        }
    }
示例#3
0
 public void SetActiveShopAllPackPopup(bool tf)
 {
     ShopAllPackPopup.SetActive(tf);
 }