Tuesday, April 16, 2024
HomeSample Page

Sample Page Title


I’ve a public methodology

public void patreononclick(){
   Application.OpenURL("http://www.patreon.com/HubakaGs");
}

This is meant to open my Patreon web page when a button is tapped.

But once I faucet the button within the constructed utility, nothing occurs.

I’ve assigned the perform to the On Click() part of the Button (Script).

I’m constructing the sport for Android and I take advantage of Unity 2017.1.0p4 Personal.

How can I make the button perform correctly?

Update:

I modified the perform to

public void patreononclick(){
    Debug.Log ("the sport ought to open patreon");
    Application.OpenURL("http://www.patreon.com/HubakaGs");
}

But when the button is clicked, there isn’t any message within the console.

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments