Where the hell is Unity CrossPlatformValidator?

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

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

But he cannot be found! Naturally, I ...

 using UnityEngine; using UnityEngine.Purchasing; 

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

Does anyone know about this?

Could not find CrossPlatformValidator type or namespace name. Do you miss the usage directive or assembly reference?

+5
source share
2 answers

It usually looks like UnityEngine.Experimental found , but it wasn’t when I looked like this, I think this is not a new feature.

1. You can find it by going to Windows β†’ Services . >. Sign in the window displayed , usually on the right.

2. Create a Project ID in this window.

3. Click Purchase APP . It is checked for OFF , click on it, then click Enable .

Note You must Sign to be able to Enable , and you must Enable . > until you can use it from Script .


Finally, a complete undocumented namespace:

using UnityEngine.Purchasing.Security;

note that this can be seen in the generated "tangle" files, for example, if you forget them.: /

+10
source

Mono Dev often helps you find things.

Right click on unresolved class -> Allow

Screenshot of resolution feature in Mono Dev .:

image

+1
source

Source: https://habr.com/ru/post/1245593/


All Articles