UWRealityLab / xrcapstone22wi-team8

XR whiteboard, maybe a little more
https://UWRealityLab.github.io/xrcapstone22wi-team8
3 stars 3 forks source link

File Transfer Client in Unity #7

Closed ApolloZhu closed 2 years ago

ApolloZhu commented 2 years ago

File Management Architecture

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.

ApolloZhu commented 2 years ago

Too hard to implement (Unity doesn't even have a file picker... seriously?). Pivoting to #8