private static void LoadSettingsFromFirebase() { FirebaseDatabaseUtility.GetDataAsJson(firebaseNode, ConvertJsonToPathSettings); }
private static void SaveSettingsToFirebase() { string json = JsonUtility.ToJson(settings); FirebaseDatabaseUtility.SaveData(firebaseNode, json); }
private void OnDisable() { FirebaseDatabaseUtility.UnsubscribeToValueChanged(firebaseNode, HandleValueChanged); }