调整Adjust初始化顺序
parent
80b6dcd36b
commit
3d51feff73
|
|
@ -51,6 +51,13 @@ public class GameLauncher : MonoBehaviour
|
|||
|
||||
DontDestroyOnLoad(goBiliBiliSDK);
|
||||
#endif
|
||||
}
|
||||
|
||||
private void Start()
|
||||
{
|
||||
#if SDK_BILIBILI
|
||||
GSCSdkInterface.init();
|
||||
#endif
|
||||
|
||||
#if SDK_ADJUST
|
||||
try
|
||||
|
|
@ -69,14 +76,6 @@ public class GameLauncher : MonoBehaviour
|
|||
DebugUtil.LogError($"Adjust SDK 初始化失败: {e.Message}");
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
private void Start()
|
||||
{
|
||||
#if SDK_BILIBILI
|
||||
GSCSdkInterface.init();
|
||||
#endif
|
||||
|
||||
versionUpdateUI = new TempUIHandle();
|
||||
|
||||
bool agreement = PlayerPrefs.GetInt("PrivacyAgreement", 0) == 1;
|
||||
|
|
|
|||
Loading…
Reference in New Issue