Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to close the webview? #2

Closed
Chren opened this issue Dec 20, 2012 · 1 comment
Closed

How to close the webview? #2

Chren opened this issue Dec 20, 2012 · 1 comment

Comments

@Chren
Copy link

Chren commented Dec 20, 2012

First, thanks for your kind to make it open source and share with us, It's really cool!

From your code, there's no function provided to close the webview, only to hide it,
If I want to close it at runtime, what should I do?
Thanks in advance;

@splhack
Copy link
Contributor

splhack commented Dec 21, 2012

Thanks!

Just destroy it to close it.

GameObject.Destroy(webViewObject.gameObject);

@splhack splhack closed this as completed Jan 17, 2013
jonobarel-slatescience pushed a commit to jonobarel-slatescience/unity-webview that referenced this issue Feb 11, 2025
unity webview - matific specific gree project. update plugin.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants