x


Pause Game during Game Center Authenticate?

How can I pause the game During the Game Center Authentication Process.

Sometimes the process (depending on internet connection I suppose) takes so long by the time I start the game it interrupts game play and the game continues to play behind the pop up, forcing the player to watch as the character helplessly dies.

more ▼

asked May 07 '12 at 11:21 PM

Ari Levi gravatar image

Ari Levi
173 8 9 14

(comments are locked)
10|3000 characters needed characters left

1 answer: sort oldest

Have you tried setting Time.timeScale equal to 0? That is generally the easiest way to pause a game since everything moving should be based on Time.deltaTime. Once it has finished loading, set Time.timeScale back to 1.

more ▼

answered May 14 '12 at 03:53 AM

Sonic4305 gravatar image

Sonic4305
1 1 1 1

I have a pause method that I can call, but the problem is recognising that the game has been interrupted by the sign in pop up. There doesn't seem to be an obvious way to check.

May 14 '12 at 04:11 AM Ari Levi
(comments are locked)
10|3000 characters needed characters left
Your answer
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:

x262
x12
x1

asked: May 07 '12 at 11:21 PM

Seen: 480 times

Last Updated: May 14 '12 at 04:11 AM