Version: 2017.3
Method group is Obsolete

Application.ExternalEval

Cambiar al Manual
Obsolete public static void ExternalEval (string script);

Parámetros

script La función Javascript a llamar.

Descripción

Execution of a script function in the contained web page.

The HTML Javascript host page can have functions executed. The ExternalEval function specifies which function should be executed.

This functionality is now obsolete. See https://docs.unity3d.com/Manual/webgl-interactingwithbrowserscripting.html for alternatives.

Note: The web player is not supported from 5.4.0 onwards.

See Also: Application.ExternalCall.