Closed ApolloZhu closed 2 years ago
In Firebase Storage (for saving files):
root - room name (e.g. test) - Filename (e.g. hello.png)
In Firebase Firestore (the database):
root - room name (e.g. test) - random id (for each document) - name: String (to display in the list) - ref: Filename or null (e.g. hello.png)
For simple text, name will be the entire text content and ref will be null.
name
ref
null
Too hard to implement (Unity doesn't even have a file picker... seriously?). Pivoting to #8
File Management Architecture
In Firebase Storage (for saving files):
In Firebase Firestore (the database):
For simple text,
name
will be the entire text content andref
will benull
.