static WorkerBackgroundServiceProxy() { var wim = typeof(WorkerInstanceManager); InitEndPoint = MonoTypeHelper.GetStaticMethodId <WorkerInstanceManager>(nameof(WorkerInstanceManager.Init)); EndInvokeCallBackEndpoint = MonoTypeHelper.GetStaticMethodId <JSInvokeService>(nameof(JSInvokeService.EndInvokeCallBack)); }
static CoreInstanceService() { initEndpointID = MonoTypeHelper.GetStaticMethodId <WorkerSimpleInstanceService>(nameof(WorkerSimpleInstanceService.Init)); endInvokeCallBackEndpointID = MonoTypeHelper.GetStaticMethodId <JSInvokeService>(nameof(JSInvokeService.EndInvokeCallBack)); #if DEBUG Console.WriteLine($"{nameof(CoreInstanceService)}(): {initEndpointID}, {endInvokeCallBackEndpointID}"); #endif }