您最多选择25个主题
主题必须以中文或者字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
22 行
620 B
22 行
620 B
using UnityEngine;
|
|
using System.Collections.Generic;
|
|
|
|
namespace HuaweiService.ads
|
|
{
|
|
public class RewardAdLoadListenerData : IHmsBaseListener
|
|
{
|
|
public string name => "com.unity.hms.listener.IRewardAdLoadListener";
|
|
public string buildName => "BuildRewardAdLoadListener";
|
|
}
|
|
public class RewardAdLoadListener : HmsListener<RewardAdLoadListenerData>
|
|
{
|
|
|
|
public virtual void onRewardedLoaded() {
|
|
Call("onRewardedLoaded");
|
|
}
|
|
|
|
public virtual void onRewardAdFailedToLoad(int arg0) {
|
|
Call("onRewardAdFailedToLoad", arg0);
|
|
}
|
|
}
|
|
}
|