Advertisemen
Hello guys, if you guys are looking for how to connect to webpage from unity this really short tutorial is for you.
I am not gonna explain anything here because it is just three lines of code -
if(GUI.Button(new Rect(Screen.width/9f, Screen.width/2.1f,
Screen.width/5, Screen.width/15), "Facebook"))
{
Application.OpenURL("https://www.facebook.com/Aarlangdi");
}
Screen.width/5, Screen.width/15), "Facebook"))
{
Application.OpenURL("https://www.facebook.com/Aarlangdi");
}
Just copy and paste and change the url then you are good to go.
Advertisemen
Tidak ada komentar:
Posting Komentar