I wanted to make my game open url page but in separate tab instead of the same window as my web build, so I made a function that does that by using Application.ExternalCall () function in unity.
Though the code works and the page is oppened in new tab, when I build my game, web.html page is rewriten from scratch using some default code template, i.e my code disappears.
Is there a way how to prevent this from happening or is there a place where I can edit what is generated by default in the web.html page?
↧