[M] sync with n3

This commit is contained in:
2024-11-28 14:00:57 +08:00
parent 5f81ddafed
commit 7401a30ebf
7 changed files with 177 additions and 54 deletions

View File

@@ -50,6 +50,8 @@ namespace tysdk
public static int GetATT() {return 1;}
public static void Review() { }
#elif UNITY_ANDROID
private static string SDK_CLASS = "com.unity3d.player.SDKManager";
@@ -195,6 +197,14 @@ namespace tysdk
public static int GetATT() {return 1;}
public static void Review()
{
using(var sdkManager = new AndroidJavaClass(SDK_CLASS))
{
sdkManager.CallStatic("Review");
}
}
#elif UNITY_IOS