0

There's a webpage running on my Raspberry Pi. I want to access it through a button in a Unity Project. When I click on the button in Unity, it should redirect to the webpage running in Raspberry Pi.

derHugo
  • 83,094
  • 9
  • 75
  • 115
Sreehan
  • 25
  • 3

1 Answers1

0

You can just use the Application.OpenURL() method, like this:

void ButtonPressed() {
    Application.OpenURL("http://serverip/page.html");
}

This will open a browser window of the url.

Cyclone6664
  • 311
  • 2
  • 7