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