I’m making a 2D game with C# for the webplayer. When a user clic on a “share” button, I want twitter to open in a new tab of the browser.
I tried this, but this doesn’t seem to work with current browsers:
void OnMouseUpAsButton() {
Application.ExternalEval("window.open('http://www.twitter.com', '_blank')");
}
So how can I make this work? Thanks!