I have a public method
public void patreononclick(){
Application.OpenURL("http://www.patreon.com/HubakaGs");
}
This is supposed to open my Patreon page when a button is tapped.
But when I tap the button in the built application, nothing happens.
I have assigned the function to the On Click() section of the Button (Script).
I am building the game for Android and I use Unity 2017.1.0p4 Personal.
How can I make the button function properly?
Update:
I changed the function to
public void patreononclick(){
Debug.Log ("the game should open patreon");
Application.OpenURL("http://www.patreon.com/HubakaGs");
}
But when the button is clicked, there is no message in the console.