x


Pausing during in-app purchase

I am wondering if there is a way to pause the game or wait until receiving the validation callback from a purchase.

Currently the only way I know to pause Unity is:

Time.timeScale = 0.0f;

Unfortunately this doesn't pause the game, it only stops the Monobehaviour updates, and has no effect on any GUI items or elements (which is beneficial for a pause menu, but in this case, the GUI shouldn't be able to spam purchase calls when still waiting for a previous purchase to validate).

I was hoping there was some sort of access to an iPhone specific pause function or something, but have been unable to find any information on this.

How do the rest of you guys do this? Clearly there are other Unity-iPhone games that have in-app purchases, how do these games handle waiting for a validation from the app store?

more ▼

asked Nov 11 '11 at 10:08 PM

SinisterSound gravatar image

SinisterSound
1 2 2 3

bumping for help...

Nov 14 '11 at 11:32 PM SinisterSound
(comments are locked)
10|3000 characters needed characters left

0 answers: sort voted first
Be the first one to answer this question
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x2014
x268
x86
x9
x9

asked: Nov 11 '11 at 10:08 PM

Seen: 729 times

Last Updated: Nov 14 '11 at 11:32 PM