Skip to content

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.

1. Get the rewarded video instance

You should keep a reference to rewarded video instance by calling:

private AMRewarded rewarded = AMRewarded.Instance;

2. Load the rewarded video

Load the rewarded video by calling:

rewarded.LoadAd();

3. Check if rewarded video is loaded

You can check the ad availability by calling:

if(rewarded.IsLoaded() == true) {
  // rewarded video is ready
} else {
  // rewarded video is NOT ready
}

4. Display the rewarded video

You can display the rewarded video by calling:

rewarded.Show();

Clone this wiki locally