Skip to content

Instantly share code, notes, and snippets.

Created July 2, 2017 01:52
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
What would you like to do?
using UnityEngine;
using System.Collections;
using UnityEngine.UI;
public class Unity_Android.cs : MonoBehaviour {
public Text text;
/*part of the github
public void bindService_Start(){
Debug.Log("Unity test bindService Start");
AndroidJavaClass unityPlayer = new AndroidJavaClass("com.unity3d.player.UnityPlayer");
AndroidJavaObject currentUnityActivity = unityPlayer.GetStatic<AndroidJavaObject>("currentActivity");
AndroidJavaClass plugin = new AndroidJavaClass("");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment