private void SetApiKeyOnIOS(ARCoreExtensionsProjectSettings settings) { if (string.IsNullOrEmpty(settings.IOSCloudServicesApiKey)) { RuntimeConfig.SetIOSApiKey(string.Empty); return; } if (!settings.IsIOSSupportEnabled) { Debug.LogWarning("Failed to enable Cloud Anchor on iOS because iOS Support " + "is not enabled. Go to 'Project Settings > XR > ARCore Extensionts' " + "to change the settings."); RuntimeConfig.SetIOSApiKey(string.Empty); return; } RuntimeConfig.SetIOSApiKey(settings.IOSCloudServicesApiKey); }