Jayanam: Unity 2019 C# Tutorial : Open Url on Button Click

Unity 2019 C# Tutorial : Open Url on Button Click
Here is a short Unity 2019 tutorial in which I show how to open a Url in the default web browser on button click.

It can be done with a C# script in which the OpenUrl method of the Application class is used for a Url parameter.

I also use Textmesh Pro for the button text, because it offers the possibility to add an underline style to the text and to set the color to a bluetone so that the text can be stylized like a web link.

What you can do after that is to disable the button image, so that only the text is visible as Weblink, but the functionality of the button click is still available.

See my social profiles here
G+: https://plus.google.com/+JayAnAm
Twitter: https://twitter.com/jayanamgames
Facebook: https://www.facebook.com/jayanamgames
Patreon: https://www.patreon.com/jayanam

Production Music courtesy of Epidemic Sound: http://www.epidemicsound.com

#Unity2019
#Unity
#C#

View on YouTube

Join the Discussion

Share your thoughts, ask a question, or tell us what you learned. Your first comment is reviewed before it appears. Once approved, future comments using the same name and email can appear directly, subject to spam checks.

Leave a Reply

Your email address will not be published. Required fields are marked *

Fix the Blender logo

Drag the loose piece into the missing part. A close fit is enough.

Loading verification…

Keyboard: arrows to move, Shift for fine adjustment, Enter to check. Verification only; movement is not stored. Logo: Blender.