π¦Unity Remote Config Wrapper
Install Unity Remote Config package in Package Manager before importing package below.
Unity Remote Config requires Unity Services in order to work -> enable it.

Select organization and Create project ID if you see the same window as above. Then toggle ads to "ON".
Setup
Add variables in Unity dashboard remote config page,
Open RemoteConfig.cs and add variables to "Custom config variables".

Assign variables in AssignConfigParams() fuction.

Note that values in UnityRemoteConfig.prefab from inspector will be as default and after initialization of UnityServices they will updated to values from dashboard.
Initialization will be automatically done as soon as internet connection established RemoteConfig.cs checks for connection every N seconds underhood.
Add UnityRemoteConfig.prefab to your loader scene
Now you can use RemoteConfig.instance and get remote variables in other scripts.
Last updated