script | La función Javascript a llamar. |
Evalúa la función script en la página web contenida.
This will execute JavaScript script
function in the web page that contains
the web player or WebGL content.
using UnityEngine; using System.Collections;
public class ExampleClass : MonoBehaviour { void Example() { Application.ExternalEval("history.back()"); } }
Tenga en cuenta que el web player no es soportado desde 5.4.0 y posterior. See Also: Application.ExternalCall.