fix:1、sdk更换。2、修复bug

This commit is contained in:
2026-07-07 14:03:12 +08:00
parent 63b530f245
commit e3b0b9b008
1617 changed files with 134668 additions and 62343 deletions
@@ -0,0 +1,54 @@
using UnityEngine;
using System.Collections;
#if UNITY_ANDROID
public class ATMsgTools
{
private AndroidJavaObject _Plugin;
public ATMsgTools ()
{
try{
if (Application.platform != RuntimePlatform.Android)
return;
_Plugin = new AndroidJavaObject ("com.thinkup.unitybridge.MsgTools");
}catch(System.Exception e)
{
System.Console.WriteLine("Exception caught: {0}", e);
}
}
public void printLogI (string msg)
{
try{
_Plugin.Call ("printLogI",msg);
}catch(System.Exception e)
{
System.Console.WriteLine("Exception caught: {0}", e);
}
}
public void printMsg (string msg)
{
try{
_Plugin.Call ("pirntMsg",msg);
}catch(System.Exception e)
{
System.Console.WriteLine("Exception caught: {0}", e);
}
}
}
#endif