Version: 2017.1
public static int GetInt (string key, int defaultValue= 0);


Returns the value corresponding to key in the remote settings if it exists.

If it doesn't exist, it will return defaultValue. If you don't provide a default value, it will return 0.

using UnityEngine;
using System.Collections;

public class ExampleClass : MonoBehaviour { void Example() { print(RemoteSettings.GetInt("maxLevelDifficulty")); } }