/// <summary> /// Show this UniWebView on screen. /// </summary> /// <description> /// Usually, it should be called when you get the LoadCompleteDelegate raised with a success flag true. /// The webview will not be presented until you call this method on it. /// </description> public void Show() { UniWebViewPlugin.Show(gameObject.name); #if UNITY_EDITOR _webViewIntPtr = UniWebViewPlugin.GetIntPtr(gameObject.name); _hidden = false; #endif }
/// <summary> /// Show this UniWebView on screen. /// </summary> /// <description> /// Usually, it should be called when you get the LoadCompleteDelegate raised with a success flag true. /// The webview will not be presented until you call this method on it. /// </description> public void Show() { _lastScreenHeight = UniWebViewHelper.screenHeight; ResizeInternal(); UniWebViewPlugin.Show(gameObject.name); #if UNITY_EDITOR _webViewIntPtr = UniWebViewPlugin.GetIntPtr(gameObject.name); _hidden = false; #endif }