我试图统一编写一个教程(https://unity3d.com/learn/tutorials/topics/analytics/integrating-unity-iap-your-game?playlist=17123),然后从此处复制代码。但是,我不断收到一条错误消息:名称“ StandardPurchasingModule”在当前上下文中不存在
我不知道为什么这种情况持续发生。这是我正在得到错误的行
var builder = ConfigurationBuilder.Instance(StandardPurchasingModule.Instance());
Run Code Online (Sandbox Code Playgroud) 现在我只是试图检测人何时触摸屏幕,但我一直收到错误说:错误CS1525:意外的符号:', expecting)',,',;',[', or='.其余的代码也可能不正确,但我不能让每个循环工作,我无法弄明白.
for (var touch: Touch in Input.touches) {
if(touch.phase == TouchPhase.Began)
Move(new Vector3(0, 0, 1));
}
Run Code Online (Sandbox Code Playgroud)