예제 #1
0
        public static KnetikUserCredentials Load()
        {
            KnetikUserCredentials credentials = new KnetikUserCredentials
            {
                UserId   = PlayerPrefs.GetString(UserIdKey),
                Password = PlayerPrefs.GetString(PasswordIdKey)
            };


            return(credentials);
        }
예제 #2
0
 public static void Save(KnetikUserCredentials credentials)
 {
     PlayerPrefs.SetString(UserIdKey, credentials.UserId);
     PlayerPrefs.SetString(PasswordIdKey, credentials.Password);
 }