Remote Config files
Creation
- In the Unity Editor, right-click in the Project window, then select Create > Services > Remote Config.
- Name the configuration.
- Press Enter.
File Format
For the files to be properly parsed they must respect the JSON schema.
Example
The following example contains these keys:
- A string key
name
- An long key
id
- A JSON key
user_schema
{
"$schema": "https://ugs-config-schemas.unity3d.com/v1/remote-config.schema.json",
"entries": {
"name": "example_name",
"id": "10000000000",
"user_schema": {
"user_id_key": "user_id",
"user_name_key": "user_name"
}
},
"types": {
"id": "LONG"
}
}
File Deployment
When you've created your Remote Config files, you can deploy them to your chosen environment.
To deploy a file:
- In the Unity Editor, select Services > Deployment. For Unity Versions earlier than 2022, select Window > Deployment. The Deployment window displays your local Remote Config files.
- Select your chosen Remote Config files and select Deploy Selected.
For more information on working with the Deployment window, refer to Deployment package.