Method group is Obsolete

Application.ExternalEval

매뉴얼로 전환
Obsolete public static void ExternalEval (string script);

파라미터

scriptThe Javascript function to call.

설명

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.