#if UNITY_2020_1_OR_NEWER && (UNITY_IOS || UNITY_ANDROID || UNITY_EDITOR)
if (testMode == false && UnityAdsSettings.testMode)
{
Debug.Log("Unity Ads is initializing in test mode since test mode is enabled in Service Window.");
}
s_Platform.Initialize(gameId, UnityAdsSettings.testMode || testMode, enablePerPlacementLoad);
#else
s_Platform.Initialize(gameId, testMode, enablePerPlacementLoad);
#endif
}
error occurs at above code.
message is
Library\PackageCache\com.unity.ads@3.4.7\Runtime\Advertisement\Advertisement.cs(79,38): error CS0103: The name ‘UnityAdsSettings’ does not exist in the current context
How to resolve this?