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; }
//---------------------------------------------------------------------- // 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); } }
public void SetActiveShopAllPackPopup(bool tf) { ShopAllPackPopup.SetActive(tf); }