- Home /
Firebase Database and Unity, saving, updating and loading a list
I'm very new to firebase and wanted to know what the best way to update and save a list is. Im saving my categories like this:
public void saveData() {
database.Child("Users").Child("Group1")
.Child("Category").SetValueAsync(categoriesList);
}
But how can I detect when the list is changing and update my local categoriesList? (That would be more efficient than loading the whole list?)
And how can I load all Strings contained in categoriesList on Firebase and put them into the local categoriesList?
Comment
Your answer
Follow this Question
Related Questions
A node in a childnode? 1 Answer
Reference list within a list 1 Answer
Search multiples INT in a custom class List 3 Answers
How do I share my Asset Store Wishlist with others ? 0 Answers