首先是报错内容:
The name StandardPurchasingModule.Instance does not exist in current context. The type or namespace IAppleExtensions could not be found
error CS0246: The type or namespace name `IStoreListener' could not be found. Are you missing an assembly reference?
在某种原因下需要在已有的项目中导入另一个项目,在导入工程后出现了一个脚本的报错。如上。
在找了度娘了以后,找到了几种解决办法(在文末展示链接),但是并没有解决掉我的问题。
于是我换了一个思路。把现在的项目导入另一个项目,报错消失。