public LiveOpsPopupEventManagerPlugin(IgawLiveOpsPopupUnityEventListener listener) { AndroidJavaClass playerClass = new AndroidJavaClass("com.unity3d.player.UnityPlayer"); AndroidJavaObject activity = playerClass.GetStatic <AndroidJavaObject> ("currentActivity"); popupEventMgrAndroidObject = new AndroidJavaObject("com.igaworks.unity.plugin.IgawLiveOpsPopupEventManager", activity, new AJPLiveOpsPopupUnityEventListener(listener)); }
internal AJPLiveOpsPopupUnityEventListener(IgawLiveOpsPopupUnityEventListener listener) : base(ANDROID_UNITY_LIVEOPS_POUPUP_CALLBACK_CLASS_NAME) { this.listener = listener; }