1234567891011121314151617181920212223242526272829303132333435 |
- using UnityEngine;
- using System.Collections;
- public class BuySpermicidalWave : MonoBehaviour
- {
- #region NGUI Callbacks
- void OnClick()
- {
-
- /*if (Vungle.isAdvertAvailable())
- {*/
- MediaPlayerCtrl.Instance.PlayAd();
- MenuManager._instance.IsSpermWaveAd = true;
- MenuManager._instance.CurState = MenuManager.StateAd.SpermKiller;
- //}
- #if UNITY_EDITOR
- //InventoryManager.Instance.Increment(InventoryItem.specialwave);
- //InventoryManager.Instance.Increment(InventoryItem.specialwave);
- #endif
- //StartCoroutine()
- //StoreManager.Instance.Purchase(StoreProductId.specialwave_5);
- }
- /*IEnumerator AddSpecialWave()
- {
-
- }*/
- #endregion
- void UpDate()
- {
-
- }
- }
|