static void InitILRuntime(ILRuntime.Runtime.Enviorment.AppDomain domain) { //这里需要注册所有热更DLL中用到的跨域继承Adapter,否则无法正确抓取引用 ILRuntimeValueTypeBinderHelper.Register(domain); ILRuntimeAdapterHelper.RegisterCrossBindingAdaptor(domain); }