System.Windows.Forms.ControlHelper.OpenUrl C# (CSharp) Method

OpenUrl() public static method

public static OpenUrl ( this button, string url ) : void
button this
url string
return void
        public static void OpenUrl(this Button button, string url)
        {
            #if UNITY_WEBGL || UNITY_WEBPLAYER
            UnityEngine.Application.ExternalEval("window.open(\"" +  url + "\")"); // with popup blocking...
            #else
            UnityEngine.Application.OpenURL(url);
            #endif
        }