标签:unity3d
c#
AndroidJavaClass up = new AndroidJavaClass ("com.unity3d.player.UnityPlayer");
AndroidJavaObject currentActivity = up.GetStatic<AndroidJavaObject> ("currentActivity");
currentActivity.Call("StartActivity0","第一个Activity");
java
public class JellyCraft extends UnityPlayerActivity {
public void StartActivity0(String d)
{
_hander.sendEmptyMessage(2);
}
}
版权声明:本文为博主原创文章,未经博主允许不得转载。
标签:unity3d
原文地址:http://blog.csdn.net/zmzsoftware/article/details/47206583