Can I use Application.ExternalCall for WebGL

Hello

I read in the documentation that:

Can I use it only Application.ExternalEval?

Hello 8Observer8.

Yes, you can use Application.ExternalCall() and Application.ExternalEval() to execute JavaScript. However, you should use those functions wisely, as they involve JavaScript eval() and therefore you may face security restrictions in some situations (i.e. when using Chrome packaged app).

The recommended way would be to use a JavaScript plugin: http://docs.unity3d.com/Manual/webgl-interactingwithbrowserscripting.html

1 Like

Thanks! Ok, I will use JavaScript plugins and SendMessage for callbacks

Hi,
How can I call jquery function from jslib?