- Home /
This question was
closed Nov 18, 2014 at 06:17 PM by
psycocrusher for the following reason:
Duplicate Question
Question by
psycocrusher · Jul 01, 2011 at 05:50 PM ·
resumeiadsuspend
iAd Suspend Resume
Hi,
I would like to know how to suspend the game while the user taps the banner. I bought the iAd plugin from the asset store, and there's these two functions.
function iAdActionWillBegin() {
Debug.Log("iAdActionWillBegin was called!");
// You can pause your game here if you want
}
// This callback method will be called after an iAd finishes
// executing an action that covered your application’s user interface.
function iAdActionDidFinish() {
Debug.Log("iAdActionDidFinish was called!");
// You can resume your game here if you want
}
It won't suspend if i toggle the pause variable i use in my game.
Thank you.
Comment
Answer by fireDude67 · Jul 01, 2011 at 06:13 PM
Hm..I think this is a duplicate of this question: How do I pause my game?