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

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