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.
print (RemoteSettings.GetInt("maxLevelDifficulty"));
using UnityEngine; using System.Collections;
public class ExampleClass : MonoBehaviour { void Example() { print(RemoteSettings.GetInt("maxLevelDifficulty")); } }