public CommonWebViewAndroid() { commonWebViewClass = new AndroidJavaClass("com.netmarble.unity.NMGCommonWebViewUnity"); uiviewCallback = new UIViewCallback(); version = commonWebViewClass.GetStatic <string>("VERSION"); location = commonWebViewClass.CallStatic <int>("nmg_commonWebView_getLocation"); CommonWebViewConfiguration configuration = new CommonWebViewConfiguration(); if (configuration.UseRotation) { UIViewRotation.Instance.SetRotation(location, true); } else { UIViewRotation.Instance.SetRotation(location, false); } }
public ForumUIViewAndroid() { androidClass = new AndroidJavaClass("com.netmarble.unity.NMGForumUnity"); forumCallback = new UIViewCallback(); AndroidJavaClass forumClass = new AndroidJavaClass("com.netmarble.forum.view.ForumWebView"); location = forumClass.GetStatic <int>("FORUM_WEBVIEW"); ForumViewConfiguration configuration = new ForumViewConfiguration(); if (configuration.UseRotation) { UIViewRotation.Instance.SetRotation(location, true); } else { UIViewRotation.Instance.SetRotation(location, false); } }
public UIViewiOS() { uiviewCallback = new UIViewCallback(); }
public CommonWebViewiOS() { uiviewCallback = new UIViewCallback(); version = Marshal.PtrToStringAuto(nmg_commonWebView_version()); location = nmg_commonWebView_getLocation(); }
public UIViewAndroid() { uiviewAndroidClass = new AndroidJavaClass("com.netmarble.unity.NMGUIViewUnity"); uiviewCallback = new UIViewCallback(); }
public ForumUIViewiOS() { forumCallback = new UIViewCallback(); }