From dabb187aa5b1cd486cd5a712a5c974704f9d2d9d Mon Sep 17 00:00:00 2001 From: lwb <q3213421wrwqr> Date: 星期三, 10 三月 2021 11:00:33 +0800 Subject: [PATCH] 9527 增加新的委托适配 --- Assets/ILRuntime/Src/ILLauncherProxy.cs | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Assets/ILRuntime/Src/ILLauncherProxy.cs b/Assets/ILRuntime/Src/ILLauncherProxy.cs index 37239d4..b210a8f 100644 --- a/Assets/ILRuntime/Src/ILLauncherProxy.cs +++ b/Assets/ILRuntime/Src/ILLauncherProxy.cs @@ -14,10 +14,8 @@ private ILRuntime.Runtime.Enviorment.AppDomain _appdomain; - public ILRuntime.Runtime.Enviorment.AppDomain appdomain - { - get - { + public ILRuntime.Runtime.Enviorment.AppDomain appdomain { + get { return _appdomain; } } @@ -88,6 +86,7 @@ domain.RegisterCrossBindingAdaptor(new DtcBasicAdapter()); domain.RegisterCrossBindingAdaptor(new GameNetPackBasicAdapter()); domain.RegisterCrossBindingAdaptor(new OperationBaseAdapter()); + domain.RegisterCrossBindingAdaptor(new IConfigPostProcessAdapter()); } //娉ㄥ唽鍊肩被鍨嬬粦瀹� @@ -121,7 +120,7 @@ appdomain.DelegateManager.RegisterMethodDelegate<ulong>(); appdomain.DelegateManager.RegisterMethodDelegate<uint>(); appdomain.DelegateManager.RegisterMethodDelegate<Snxxz.UI.Operation>(); - appdomain.DelegateManager.RegisterMethodDelegate<Snxxz.UI.Operation,int >(); + appdomain.DelegateManager.RegisterMethodDelegate<Snxxz.UI.Operation, int>(); appdomain.DelegateManager.RegisterMethodDelegate<float, Vector2>(); appdomain.DelegateManager.RegisterMethodDelegate<int, Transform>(); appdomain.DelegateManager.RegisterMethodDelegate<Vector2>(); @@ -154,6 +153,7 @@ appdomain.DelegateManager.RegisterMethodDelegate<DateTime>(); appdomain.DelegateManager.RegisterMethodDelegate<System.Object>(); appdomain.DelegateManager.RegisterMethodDelegate<global::ScrollerDataType, global::CellView>(); + appdomain.DelegateManager.RegisterMethodDelegate<int, LitJson.JsonData>(); //鏈夎繑鍥炲�� appdomain.DelegateManager.RegisterFunctionDelegate<int>(); -- Gitblit v1.8.0