Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

UniWebView use with button

Discussion in 'Documentation' started by Agreans, Aug 15, 2020.

  1. Agreans

    Agreans

    Joined:
    Aug 15, 2020
    Posts:
    1
    Hi.
    I started to make an android application with Unity. I purchased the UniWebView 3 application for this. However, I have a problem. There will be two buttons in my application. Two buttons will show different sites. I wrote to the UniWebView support mail and they told me to do it with the Load function. I don't have coding knowledge and just started Unity. I would be glad if you could help me on how to do this.

    Code (CSharp):
    1. // Load a URL.
    2. webView.Load("https://example.com");