ExternalEval(string)
Execution of a script function in the contained web page.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Method
- Namespace: UnityEngine
- Assembly: UnityEngine.CoreModule
public static void ExternalEval(string script)
Parameters
The Javascript function to call.
Remarks
The HTML Javascript host page can have functions executed. The Application.ExternalEval function specifies which function should be executed.
This functionality is now obsolete. For alternative approaches, refer to Interaction with browser scripting.
Note: The Web Player is obsolete.
Additional Resources: Application.ExternalCall.