πŸ“¦Unity Remote Config Wrapper

Package

Unity Remote Config requires Unity Services in order to work -> enable it.

Services tab

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".

Example of added variables

Assign variables in AssignConfigParams() fuction.

Hook info from Unity Remote Config for your declared variables

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.

Now you can use RemoteConfig.instance and get remote variables in other scripts.

Last updated