-1
\$\begingroup\$

How to open URL in new tab for WebGL?

Tried Application.OpenURL("url"). But it's opens a tab in same window

Thanks

\$\endgroup\$

closed as off-topic by Alexandre Vaillancourt, MAnd, Kromster, Josh Jan 27 '16 at 16:47

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Programming questions that aren't specific to game development are off-topic here, but can be asked on Stack Overflow. A good rule of thumb is to ask yourself "would a professional game developer give me a better/different/more specific answer to this question than other programmers?"" – Alexandre Vaillancourt, MAnd, Kromster, Josh
If this question can be reworded to fit the rules in the help center, please edit the question.

0
\$\begingroup\$

You can't. You don't have any way to set the target attribute from within the player. The docs for the OpenURL state

When executed in the web player, the page the plugin is contained in will be redirected to the url.

I would just assume that it's also true for the webGL player.

But if you took the time to read the maunual, you could write a simple javascript to open new tabs, and call that from the webGL player.

Your probably getting down voted because this info is readily available.

\$\endgroup\$

Not the answer you're looking for? Browse other questions tagged or ask your own question.