Y
Y
Yura Mailler2020-12-19 19:26:03
Unity
Yura Mailler, 2020-12-19 19:26:03

How to find out if the player has watched the ad?

Hello! While adding an advertisement, I noticed that while watching it, an action begins that should be after the advertisement, how to find out if the player has watched the advertisement?

public void Hp(){
    if(Advertisement.IsReady()){
      Advertisement.Show("rewardedVideo" );
      hp++;
    		        blabla1 = false;
    }
    else{
      SceneManager.LoadScene(SceneManager.GetActiveScene().buildIndex);
    }
    	
    	
    }

Answer the question

In order to leave comments, you need to log in

1 answer(s)
F
freeExec, 2020-12-19
@Yura111

Read what events the advertising combine generates. Everything is in normal.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question