I’m developing a game using Unity and have several specific requirements related to data access:
- Players, via the Unity client, should be able to read from the database but not write to it directly.
- Any requirements for modifying, creating, or deleting data should be achieved through invoking Atlas functions.
- The Unity client needs to listen for changes to specific collections or individual documents in the database. Upon detecting these changes, the client should be able to execute corresponding Unity logic (e.g., if another player adds them as a friend, a UI notification should pop up in the game).
- Only a very limited set of data should be writable directly from the Unity client.
Can these requirements be met using the MongoDB Realm Unity SDK? Or is there a more appropriate approach to achieve this?