Steam login11/28/2023 M_AuthTicket = SteamUser.GetAuthTicketForWebApi("unityauthenticationservice") M_AuthTicketForWebApiResponseCallback = Callback.Create(OnAuthCallback) See GetAuthSessionTicket document for details. Create the callback to receive events when the session ticket member variable to prevent the GC from cleaning it up. Callback.Create return value must be assigned to a It's not necessary to add event handlers if they are Encrypted Application Tickets are not accepted.Ĭallback m_AuthTicketForWebApiResponseCallback Unity Authentication SDK accepts only Steam session tickets. Refer to the documentation of GetAuthTicketForWebApi. Implement the Steam login using the sample code below. Enter the Publisher Web API Key in the Key text field, then select Save.Enter the app ID in the App ID text field.Set ID Providers to Steam, then select Add.In the Unity Editor menu, go to Edit > Project Settings…, then select Services > Authentication from the navigation menu.The Steam user has the game you are developing in the library.Ĭonfigure your ID provider to be Steam for Unity Authentication:
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |