Ejemplo n.º 1
0
        /// <summary>
        /// called in 2 cases: first time to open and edting the code
        /// </summary>
        private void OnEnable()
        {
            LootLockerSDKAdminManager.Init();

            InitTexture();
            InitSections();

            email    = LootLockerAdminConfig.current.email;
            password = LootLockerAdminConfig.current.password;
            //these will be exposed to UI

            if (currentView == LootLockerView.Login && !string.IsNullOrEmpty(email) && !string.IsNullOrEmpty(password))
            {
                AdminLogin();
            }
        }