Esempio n. 1
0
        // Continue the OnBuySuccess flow after the flourish FX
        private void TriggerResultsAndDestroy()
        {
            GStateManager.Instance.CurrentState.SetUIEnabled(true);
            HudHelper.DisplayMessageDialog("SUCCESS", "YOU JUST PURCHASED " + m_product.Title, "OK");

            GSoundMgr.PlaySound("purchaseSuccess");
            //remove it if its a timed deal card
            if (m_product != null && m_resetTime > 0)
            {
                Destroy(gameObject);
            }
        }
 private void playClickEffect()
 {
     GSoundMgr.PlaySound("commonClick");
 }