UnityWebGLOpenLink
UnityWebGLOpenLink copied to clipboard
A sample Unity WebGL project which shows 3 ways to open a link in a browser.
i'm navie at unity stater, would u mind supporting the mac os webGL is needed? thanks
Hello @valyard Great work with your blog post and code but on Firefox it seems not to work and the tab is blocked. Is there a way to work around...
Links open well in desktop. but not in mobile browser. Is it possible to settle this? Or may be this is a unity issue?
Agregue un par de lineas a "Link.cs", para pasar la url como un valor publico(Como string). public void OpenLinkJSPlugin(string opentolink) { #if !UNITY_EDITOR openWindow("http://"+opentolink+".com"); #endif }
var OpenWindowPlugin = { openWindow: function(link) { var url = Pointer_stringify(link); document.onmouseup = function() { window.open(url); document.onmouseup = null; } } }; Right version : mergeInto(LibraryManager.library, OpenWindowPlugin); var OpenWindowPlugin =...
Hi Valentin Simonov, I cant find window "New Plugin Inspector" in Unity 2017.2. Could you please show me how to open it?