コード例 #1
0
    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);
    }
コード例 #2
0
 private void OnValueChanged()
 {
     SGStorage.SetGenericPref(keyURL, inputField.text);
 }
コード例 #3
0
 private void OnValueChanged()
 {
     SGStorage.SetGenericPref(keyApp, dropdown.captionText.text);
     dropdown.enabled = false;
 }