Exemple #1
0
 private static void LoadSettingsFromFirebase()
 {
     FirebaseDatabaseUtility.GetDataAsJson(firebaseNode, ConvertJsonToPathSettings);
 }
Exemple #2
0
        private static void SaveSettingsToFirebase()
        {
            string json = JsonUtility.ToJson(settings);

            FirebaseDatabaseUtility.SaveData(firebaseNode, json);
        }
Exemple #3
0
 private void OnDisable()
 {
     FirebaseDatabaseUtility.UnsubscribeToValueChanged(firebaseNode, HandleValueChanged);
 }