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

            FirebaseDatabaseUtility.SaveData(firebaseNode, json);
        }
Пример #3
0
 private void OnDisable()
 {
     FirebaseDatabaseUtility.UnsubscribeToValueChanged(firebaseNode, HandleValueChanged);
 }