question

Brent Batas (Lisk) avatar image
Brent Batas (Lisk) asked

How to get the current Unity SDK version?

I'd like to print the current SDK version for debugging purposes, such as

UnitySDK-2.55.181114

How do I get this from C# code? I want to print it to my debug logs.

sdks
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
Seth Du avatar image
Seth Du answered

Surely you can get SDK version programmatically. Please see this file in your Unity project assert: PlayFabSdk -> Profiles -> PlayFabProfilesAPI.cs

In a public static class named PlayFabSettings, there is a public const string attribute named SdkVersion. Please see the screenshot attached.


20181130094257.jpg (67.1 KiB)
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.