Notifications
Clear all
Combu Server/Client
2
Posts
2
Users
0
Reactions
735
Views
Topic starter
I tried calling the AutoLogin() function in a script, however, I do not know what parameters to place inside the function call. Some assistance or an example of the AutoLogin() function would be greatly appreciated!
Posted : 23/10/2018 7:54 pm
You have to pass the callback (a void method with a boolean parameter success and a string parameter error to be called when the process has been finished with a result), like the example in the documentation.
User.AutoLogin ((bool success, string error) => { Debug.Log ("AutoLogin: success=" + success + " -- error=" + error); });
FRANCESCO CROCETTI @ SKARED CREATIONS
Posted : 23/10/2018 10:38 pm