https://github.com/ale1/remote-config
a simple remote config tool
https://github.com/ale1/remote-config
Last synced: about 1 year ago
JSON representation
a simple remote config tool
- Host: GitHub
- URL: https://github.com/ale1/remote-config
- Owner: Ale1
- Created: 2023-11-27T18:58:31.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2024-01-30T23:07:14.000Z (over 2 years ago)
- Last Synced: 2025-04-05T09:12:24.760Z (about 1 year ago)
- Language: C#
- Size: 53.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Remote Config Tool
A simple remote config tool integrated into project settings.

Notes:
+ compatible with NPM-style packages (should work fine with a private verdaccio server too)
+ Example packages: localisation and purchases.
+ Localisation has Remote config package as a hard dependency (classic setup).
+ while purchases shows setup where Remote Config package is optional.
+ Remote Config is saved twice:
+ a Remote instance (not truly remote, just caches what was last fetched from remote)
+ and a local instance. Intended workflow: You can push the local instance with changes unto the remote instance, and then (in theory) upload the remote one. The same flow goes in reverse for pulling changes from the server.
+ To avoid re-inventing the wheel and creating a whole new editor inspector from scratch (fun, but time-counsuming) I used scriptable Objects to leverage their pre-existing inspector editors and relatively easy integration with Project Settings.
+ However, half-way through I regretted this choice, and wish I had done a pure c#+json implementation, caching everything in serialized jsons and only using unity for the visual editor window.
+ The end results is a bit of a clunky mix of both approaches. Pls it requires using config files in a resources folder, which is super duper annoying -even through its the recommended "unity way".