Geek Culture
Published in

Geek Culture

URL-opening within a Unity Application in 1 Line of Code!

Objective: Open an URL in the default browser from a Unity game or application

Long story short: you just need to call a simple method from the Unity Library.

String url;
Application.OpenURL(url);

Insanely easier than expected. Here is a cool way to implement it.

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Daniele Quero, PhD

Daniele Quero, PhD

A professional developer with passion for game developing and skill-growing. A former Nuclear Physics Researcher who changed his life to pursue his dreams