-
Notifications
You must be signed in to change notification settings - Fork 1
Unity Rewarded Video Usage
Mert Celik edited this page Jan 4, 2019
·
3 revisions
Please refer to RewardedVideoSampleScene.cs in our Unity plugin for complete implementation.
You should keep a reference to rewarded video instance by calling:
private AMRewarded rewarded = AMRewarded.Instance;
Load the rewarded video by calling:
rewarded.LoadAd();
You can check the ad availability by calling:
if(rewarded.IsLoaded() == true) {
// rewarded video is ready
} else {
// rewarded video is NOT ready
}
You can display the rewarded video by calling:
rewarded.Show();