public bool CanGoForward() { #if UNITY_IOS || UNITY_ANDROID || UNITY_EDITOR return(uniWebView.CanGoForward()); #else return(false); #endif }
/// <summary> /// 页面回退 /// </summary> public void WebViewForward() { if (_curWebView) { if (_curWebView.CanGoForward()) { _curWebView.GoForward(); } else { YxDebug.LogError("到头了,还走啥!"); } } else { YxDebug.LogError("CurWebView is null,please try again!"); } }