protected virtual void RegisterClasses(Puerts.JsEnv env) { env.UsingAction <int>(); env.UsingAction <float>(); env.UsingAction <string>(); env.UsingAction <string, string>(); }
protected virtual void RegisterClasses(Puerts.JsEnv vm) { vm.UsingAction <int>(); vm.UsingAction <float>(); vm.UsingAction <string>(); vm.UsingAction <bool>(); vm.UsingFunc <int>(); vm.UsingFunc <float>(); vm.UsingFunc <string>(); vm.UsingFunc <bool>(); vm.UsingAction <string, string>(); vm.UsingAction <Vector3>(); vm.UsingFunc <Vector3>(); vm.UsingAction <UnityEngine.SceneManagement.Scene, UnityEngine.SceneManagement.LoadSceneMode>(); vm.UsingAction <UnityEngine.SceneManagement.Scene, UnityEngine.SceneManagement.Scene>(); vm.UsingAction <UnityEngine.AsyncOperation>(); }
public static void AutoUsing(this JsEnv jsEnv) { jsEnv.UsingAction <System.Boolean>(); jsEnv.UsingAction <System.Boolean, System.Boolean, System.Int32>(); jsEnv.UsingAction <System.Int32>(); jsEnv.UsingAction <System.Int32, System.Int32>(); jsEnv.UsingAction <System.Int32, System.Int32, System.Int32>(); jsEnv.UsingAction <System.Int32, System.Net.WebHeaderCollection>(); jsEnv.UsingAction <System.IntPtr, Puerts.ISetValueToJs, System.IntPtr, System.Object>(); jsEnv.UsingAction <System.String, System.Boolean, System.String>(); jsEnv.UsingAction <System.String, System.String, UnityEngine.LogType>(); jsEnv.UsingAction <UnityEngine.CullingGroupEvent>(); jsEnv.UsingAction <UnityEngine.ReflectionProbe, UnityEngine.ReflectionProbe.ReflectionProbeEvent>(); jsEnv.UsingAction <UnityEngine.SceneManagement.Scene>(); jsEnv.UsingAction <UnityEngine.SceneManagement.Scene, UnityEngine.SceneManagement.LoadSceneMode>(); jsEnv.UsingAction <UnityEngine.SceneManagement.Scene, UnityEngine.SceneManagement.Scene>(); jsEnv.UsingFunc <IEnumeratorUtil.Tick>(); jsEnv.UsingFunc <System.Boolean>(); jsEnv.UsingFunc <System.Exception, System.Boolean>(); jsEnv.UsingFunc <System.Int32, System.Boolean>(); jsEnv.UsingFunc <System.Int32, System.Int32, System.Int32>(); jsEnv.UsingFunc <System.IntPtr, Puerts.IGetValueFromJs, System.IntPtr, System.Boolean, System.Object>(); jsEnv.UsingFunc <System.Net.HttpListenerRequest, System.Net.AuthenticationSchemes>(); jsEnv.UsingFunc <System.Net.ServicePoint, System.Net.IPEndPoint, System.Int32, System.Net.IPEndPoint>(); jsEnv.UsingFunc <System.Object, System.Security.Cryptography.X509Certificates.X509Certificate, System.Security.Cryptography.X509Certificates.X509Chain, System.Net.Security.SslPolicyErrors, System.Boolean>(); jsEnv.UsingFunc <System.Reflection.Assembly, System.String, System.Boolean, System.Type>(); jsEnv.UsingFunc <System.Reflection.MemberInfo, System.Object, System.Boolean>(); jsEnv.UsingFunc <System.String, System.Int32, System.Char, System.Char>(); jsEnv.UsingFunc <System.Type, System.Object, System.Boolean>(); jsEnv.UsingFunc <UnityEngine.UI.ILayoutElement, System.Single>(); }