Iam trying to show ad when i press my gui button but it’s giving me this error?
if (GUI.Button (new Rect (currentGameOver.x + (currentGameOver.width - -280), currentGameOver.y + (currentGameOver.height - -220), 130, 100), "", skin.GetStyle ("Play"),Advertisement.isReady ())) {
Advertisement.Show (null, new ShowOptions {
pause = true,
resultCallback = result => {
Debug.Log(result.ToString());
}
});
}