public void Show(float delay = 0) { if (delay == 0) { OKWebViewPlugin.Show(); onLoadComplete = null; return; } onLoadComplete = () => { StartCoroutine(ShowCoroutine(delay)); }; }
private void Resize() { Debug.Log("Webview RESIZE"); OKWebViewPlugin.Resize(); }
private void OnDestroy() { OKWebViewPlugin.Destroy(); }
public void ClearCookies() { OKWebViewPlugin.ClearCookies(); }
public void Hide() { OKWebViewPlugin.Hide(); onLoadComplete = null; }
public void Load(string url) { loaded = false; OKWebViewPlugin.Load(url.Trim()); }
public void Awake() { OKWebViewPlugin.Init(gameObject.name); }