- Home /
Question by
CarlGammaSagan · Aug 12, 2015 at 04:22 AM ·
google play games
How to implement a standby screen during authentication for the Play Games Services plugin?
The Play Games Services plugin (https://github.com/playgameservices/play-games-plugin-for-unity) states in its readme that we should implement a standby screen while the user is authenticating. How is it best to do this?
Comment
Answer by RediceZone · Nov 27, 2015 at 11:15 AM
you can call it in coroutine for this until bool variable 'success' is true . and show loading screen (anything you want to show to restrict the user) until authentication successful. Keep in mind that you have to return again into coroutine in logical way otherwise you will have exception like: The yield statement cannot be used inside anonymous method blocks