private static bool RemoteSettingsSaveLate() { bool hasValues = false; if (!setupReady) { return(false); } //save the latest remote settings var keys = FirebaseRemoteConfig.Keys; foreach (string key in keys) { string value = FirebaseRemoteConfig.GetValue(key).StringValue; SGStorage.SetGenericPref(rsPreference + key, value); Debug.Log("Remote Settings: Save data to PlayerPrefab: " + rsPreference + key + "=" + value); } hasValues = rsActivateFetched; return(hasValues); }
private void OnValueChanged() { SGStorage.SetGenericPref(keyURL, inputField.text); }
private void OnValueChanged() { SGStorage.SetGenericPref(keyApp, dropdown.captionText.text); dropdown.enabled = false; }