|
Calls a function in the containing web page (Web Player only).
This will call JavaScript function functionName in the web page that contains the web player, passing given arguments to it. Supported argument types are the primitive types (string, int, float, char) and arrays of them. Any other objects are converted to string (using ToString method) and passed as strings.
The function is called non-blocking, i.e. ExternalCall immediately returns without waiting for the function that was called to complete.
The number of passed arguments can be varying:
See Also: Browser to Unity communication, Application.ExternalEval.