unityAds报这个错: The imported type `UnityEngine.Advertisements.ShowResult‘ is defined multiple times
google了一下,说是由于unit5.2内置了unityAds,不必再从asset store导入unityAds了。
但是如果导入了也可以用,只要将选中Assets/Standard Assets/UnityAds文件夹reimport一下,unity就能知道你是要用导入的unityAds了,就不会再报错了。
参考:http://forum.unity3d.com/threads/unity-5-2-the-imported-type-unityengine-advertisements-showresult-is-defined-multiple-times.353529/
[Unity 5.2] The imported type `UnityEngine.Advertisements.ShowResult' is defined multiple times
时间: 2024-11-03 21:44:29