I have a public voidmethod
Publicpublic void patreononclick(){
Application.OpenURL("http://www.patreon.com/HubakaGs");
}
WhichThis is supposed to open my patreonPatreon page when a button is tapped. But
But when iI tap the button in the built application, nothing happens. I
I have assigned the function to the On Click() section of the Button (Script). I
I am building the game for android patformAndroid and iI use Unity 2017.1.0p4 Personal. How
How can iI make the button to function properly?
Update: I
I changed the function to
public void patreononclick(){ Debug.Log ("the game should open patreon"); Application.OpenURL("http://www.patreon.com/HubakaGs"); }
But
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 atin the console.