BuySpermicidalWave.cs 703 B

1234567891011121314151617181920212223242526272829303132333435
  1. using UnityEngine;
  2. using System.Collections;
  3. public class BuySpermicidalWave : MonoBehaviour
  4. {
  5. #region NGUI Callbacks
  6. void OnClick()
  7. {
  8. /*if (Vungle.isAdvertAvailable())
  9. {*/
  10. MediaPlayerCtrl.Instance.PlayAd();
  11. MenuManager._instance.IsSpermWaveAd = true;
  12. MenuManager._instance.CurState = MenuManager.StateAd.SpermKiller;
  13. //}
  14. #if UNITY_EDITOR
  15. //InventoryManager.Instance.Increment(InventoryItem.specialwave);
  16. //InventoryManager.Instance.Increment(InventoryItem.specialwave);
  17. #endif
  18. //StartCoroutine()
  19. //StoreManager.Instance.Purchase(StoreProductId.specialwave_5);
  20. }
  21. /*IEnumerator AddSpecialWave()
  22. {
  23. }*/
  24. #endregion
  25. void UpDate()
  26. {
  27. }
  28. }