Exemplo n.º 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;
    }
Exemplo n.º 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);
        }
    }
Exemplo n.º 3
0
 public void SetActiveShopAllPackPopup(bool tf)
 {
     ShopAllPackPopup.SetActive(tf);
 }