protected override void OnButtonClicked() { #if VOODOO_SAUCE VoodooSauce.ShowRewardedVideo(OnRewardedVideoCompleted); #elif UNITY_EDITOR OnRewardedVideoCompleted(true); #endif }
/// <summary> /// Show the Rewarded Video /// </summary> public void ShowRewardedVideo() { if (currencyManager == null) { currencyManager = CurrencyManager.Instance; } #if VOODOO_SAUCE VoodooSauce.ShowRewardedVideo(OnComplete); #else currencyManager.AddToCurrency(RVBonusValue, RVBonusCurrency); #endif }