To integrate the rewarded format the TappxManagerUnity prefab must be added in the same scene in which you want to show the video.
loadRewarded loads all the necessary information to display the ad.
TappxManagerUnity.instance.loadRewarded();isRewardedReady checks that the ad is ready to be displayed. It received “true” if it’s ready, and “false” if not.
TappxManagerUnity.instance.isRewardedReady();
rewardedShow displays the previously uploaded video ad.
TappxManagerUnity.instance.rewardedShow();public void RewardedLoaded(){
UnityEngine.Debug.Log("Rewarded Load");
}
public void RewardedFailedToLoad(string error){
UnityEngine.Debug.Log("Rewarded failed to Load " + error);
}
public void RewardedVideoStart(){
UnityEngine.Debug.Log("Rewarded Start");
}
public void RewardedVideoClicked(){
UnityEngine.Debug.Log("Rewarded Clicked");
}
public void RewardedVideoPlaybackFailed(){
UnityEngine.Debug.Log("Rewarded Playback Failed");
}
public void RewardedVideoClosed(){
UnityEngine.Debug.Log("Rewarded Closed");
}
public void RewardedVideoCompleted(){
UnityEngine.Debug.Log("Rewarded Complete");
}