Esempio n. 1
0
 private void DeInitPlayerIdentitySDK()
 {
     if (m_PlayerIdentityManager != null && m_PlayerIdentityManager.isInitializationComplete)
     {
         m_PlayerIdentityManager.DeinitializeLoader();
         m_PlayerIdentityManager = null;
     }
 }
Esempio n. 2
0
        private void InitPlayerIdentitySDK()
        {
            if (PlayerIdentityGeneralSettings.Instance == null || PlayerIdentityGeneralSettings.Instance.m_LoaderManagerInstance == null || PlayerIdentityGeneralSettings.Instance.m_InitManagerOnStart == false)
            {
                return;
            }

            m_PlayerIdentityManager = PlayerIdentityGeneralSettings.Instance.m_LoaderManagerInstance;
            if (m_PlayerIdentityManager == null)
            {
                Utils.Logger.Error("Assigned GameObject for PlayerIdentity Management loading is invalid. PlayerIdentity SDK will not be automatically loaded.");
                return;
            }

            m_PlayerIdentityManager.automaticLoading = false;
            m_PlayerIdentityManager.automaticRunning = false;
            m_PlayerIdentityManager.InitializeLoader();
        }