SDK_UnityMoney/Assets/Script/Test.cs

23 lines
445 B
C#
Raw Normal View History

2025-08-31 05:48:26 +00:00
using System;
2025-08-30 04:42:57 +00:00
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
2025-09-01 10:32:50 +00:00
using WZ;
2025-08-30 04:42:57 +00:00
public class Test : MonoBehaviour
{
2025-08-31 05:48:26 +00:00
2025-09-01 12:53:08 +00:00
private List<string> _rewardedAdUnits = new List<string>();
2025-08-30 04:42:57 +00:00
public void OnShowAd()
{
2025-09-01 12:53:08 +00:00
AppSDKManager.Instance.Init(null);
// KwaiAdsManager.Instance.ShowRewardAd();
2025-08-30 04:42:57 +00:00
}
public void OnShowInterstitial()
{
2025-08-31 03:55:05 +00:00
KwaiAdsManager.Instance.OnInterstitialCallback();
2025-08-30 04:42:57 +00:00
}
}