ExternalCall(string, params object[])
Calls a function in the web page that contains the WebGL Player.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前
Definition
- Type: Method
- Namespace: UnityEngine
- Assembly: UnityEngine.CoreModule
ExternalCall(string, Object[])
public static void ExternalCall(string functionName, params object[] args)
Parameters
Remarks
ExternalCall calls functionName in the web page containing the WebGL player, passing the given arguments to it. Supported argument types are the primitive types (string, int, float, char) and arrays of such types. Any other objects are converted to string using ToString and passed as s.
stringThis functionality is now obsolete. See Interacting with Browser scripting for alternatives.
Additional Resources: Application.ExternalEval.