Exemple #1
0
        /// <summary>
        /// </summary>
        /// <param name="salesItem"></param>
        public void OnBuyGacha(
            SalesItem salesItem
            )
        {
            Debug.Log("GachaDirector::OnBuyGacha");

            StartCoroutine(
                ShowcaseController.Buy(
                    _client,
                    _session,
                    _gachaSetting.showcaseNamespaceName,
                    _gachaSetting.showcaseModelName,
                    salesItem.DisplayItemId,
                    _gachaSetting.onIssueBuyStampSheet,
                    _gachaSetting.onError,
                    _config.Select(item => new EzConfig
            {
                Key   = item.Key,
                Value = item.Value
            }).ToList()
                    )
                );
        }
Exemple #2
0
        public void OnClickBuyButton(SalesItem salesItem)
        {
            onBuy.Invoke(salesItem);

            gameObject.SetActive(false);
        }