feat:1、添加项目

This commit is contained in:
2026-06-02 10:26:44 +08:00
commit dfead2c461
7518 changed files with 748693 additions and 0 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