using System.Collections; using System.Collections.Generic; using UnityEngine; using ZenFulcrum.EmbeddedBrowser; public class test : MonoBehaviour { // Start is called before the first frame update void Start() { var b = transform.Find("Browser (GUI)").GetComponent(); b.EvalJS("navigator.pfLang = 'zh'"); b.RegisterFunction("Test", args => { }); } void Test(string str, int i) { } // Update is called once per frame void Update() { } }