示例#1
0
 public void CloseWindow()
 {
             #if UNITY_ANDROID
     AndroidJavaClass webViewActivity = new AndroidJavaClass("com.goshaplugins.WebViewActivity");
     webViewActivity.CallStatic("closeBrowser");
             #else
     webObj.SetVisibility(false);
     webObj.DestroyWebView();
     initialized = false;
             #endif
 }