Ejemplo n.º 1
0
        public void TacoSigninWithTokenFree()
        {
            var guid           = System.Guid.NewGuid().ToString().Substring(0, 1);
            var random         = UnityEngine.Random.Range(-999, 999);
            var ramdomString   = System.DateTime.Now.Day + guid + System.DateTime.Now.Month + random;
            var scoreToEncrypt = scoreNow + "|" + ramdomString;

            TacoConfig.print(scoreToEncrypt);
            var gToken = TacoManager.EncryptStringToBytes(scoreToEncrypt);

            TacoConfig.print(gToken);
            PlayerPrefs.SetString("gTokenSignUpGift", gToken);
            //Open Register
            TacoManager.ShowPanel(PanelNames.RegisterPanel);
        }