I want to show a webpage inside unity3d without making it an image and load it via a WWW class.
I have seen that there are plugins, but I would like to load the web page without one.
You can load local HTML files through the web view if you put them to the StreamingAssets folder open in new window ( Assets/StreamingAssets/ folder in the Unity project).
Basically, you can place the prefabs in a scene or canvas, give it a URL, and it will automatically display the web content and handle user interaction.
The HTML file generated by Unity when building a web player contains all the commonly required functionality. In most cases you don't have to modify the HTML file at all.
You need a plugin because the best way to do what you want is "webview"
If you really don't want to use a plugin, then use Applicaion.OpenUrl
instead. This will open web pages, but not inside the unity window. It will open a browser application and show webpage.
If you want to use a plugin, check this github https://github.com/gree/unity-webview
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With