/// <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() ) ); }
public void OnClickBuyButton(SalesItem salesItem) { onBuy.Invoke(salesItem); gameObject.SetActive(false); }