哪个是Unity的CrossPlatformValidator? [英] Where the heck is Unity's CrossPlatformValidator?

查看:519
本文介绍了哪个是Unity的CrossPlatformValidator?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用Unity的优秀新 CrossPlatformValidator

I'm trying to use Unity's excellent new CrossPlatformValidator

(例如看到......

http://docs.unity3d.com/Manual/UnityIAPValidatingReceipts.html

https://docs.google.com/document/d/ 1dJzeoGPeUIUetvFCulsvRz1TwRNOcJzwTDVf23gk8Rg

(Such as seen ...
http://docs.unity3d.com/Manual/UnityIAPValidatingReceipts.html or
https://docs.google.com/document/d/1dJzeoGPeUIUetvFCulsvRz1TwRNOcJzwTDVf23gk8Rg)

但无法找到它!我自然是...

But it can't be found! Naturally I am ...

using UnityEngine;
using UnityEngine.Purchasing;

我还尝试了不同的剥离和.Net级别。没什么。

I also tried different stripping and .Net levels. Nothing.

任何人都有这方面的线索吗?

Anyone have a clue about this?


类型或命名空间找不到名称`CrossPlatformValidator'。你是否缺少using指令或汇编引用?

The type or namespace name `CrossPlatformValidator' could not be found. Are you missing a using directive or an assembly reference?


推荐答案

这样的东西通常是发现 UnityEngine.Experimental 但是当我查看时它不在那里我猜它是一个新功能。

Stuff like this is usually found at UnityEngine.Experimental but it wasn't there when I looked so I guess it is not a new feature.

1。您可以通过 Windows 查找 - > 服务签名显示的窗口上,通常在右侧。

1. You can find it by going to Windows -> Services. Sign in on the Window displayed, usually on the right.

2。该窗口创建 项目ID

3. 点击应用内购买。系统会检查 OFF ,点击它,然后点击启用

3. Click on In-APP Purchasing. It is checked to OFF, click on it then click Enable.

注意 :您必须签名才能启用,然后您必须启用 脚本中使用

Note: You must Sign in to be able to Enable it and you must Enable it before you can use it from Script.

最后,完全未记录的命名空间是:

Finally, the completely undocumented namespace is:

请注意,人们可以在生成的纠结文件中看到这一点,例如,如果有人忘记它。 :/

note that one can see this in the generated "tangle" files, for example, if one forgets it. :/

这篇关于哪个是Unity的CrossPlatformValidator?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆