- Home /
Question by
Yasser_E · Jul 03, 2016 at 06:52 PM ·
c#unity 5unity5google play games
Load Google Play Popup during Unity startup on Android?
Is it possible to load Google Play user authenitcation during Unity startup?
I'm currently using the following code to authenticate the player:
void Awake()
{
PlayGamesPlatform.Activate ();
}
void Start()
{
// authenticate user:
Social.localUser.Authenticate((bool success) => {
});
}
But the code only runs after the Unity logo icon (startup)
Comment
Answer by Petch12 · Jul 06, 2016 at 08:50 PM
This might help you: https://docs.unity3d.com/Manual/RunningEditorCodeOnLaunch.html
Your answer
Follow this Question
Related Questions
Multiple Cars not working 1 Answer
Google Play Service LogIn Problem 0 Answers
How to define a slider on script file? 1 Answer
Unity 5: UI button OnPointerDown not function as expected 1 Answer
Distribute terrain in zones 3 Answers