示例#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);
 }