public static KnetikUserCredentials Load() { KnetikUserCredentials credentials = new KnetikUserCredentials { UserId = PlayerPrefs.GetString(UserIdKey), Password = PlayerPrefs.GetString(PasswordIdKey) }; return(credentials); }
public static void Save(KnetikUserCredentials credentials) { PlayerPrefs.SetString(UserIdKey, credentials.UserId); PlayerPrefs.SetString(PasswordIdKey, credentials.Password); }