少年修仙传客户端基础资源
lwb
2021-02-24 2aca662b2acd337d378a72ec4bce938d19fedbc2
9527 ilruntime
1个文件已修改
9 ■■■■■ 已修改文件
Assets/ILRuntime/Src/ILLauncherProxy.cs 9 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Assets/ILRuntime/Src/ILLauncherProxy.cs
@@ -162,6 +162,7 @@
        appdomain.DelegateManager.RegisterFunctionDelegate<double>();
        appdomain.DelegateManager.RegisterFunctionDelegate<int, bool>();
        appdomain.DelegateManager.RegisterFunctionDelegate<System.Int32, System.Int32, System.Int32>();
        appdomain.DelegateManager.RegisterFunctionDelegate<ILRuntime.Runtime.Intepreter.ILTypeInstance, ILRuntime.Runtime.Intepreter.ILTypeInstance, System.Int32>();
        //自定义委托转换
        appdomain.DelegateManager.RegisterDelegateConvertor<UnityEngine.Events.UnityAction>((action) =>
@@ -192,6 +193,14 @@
                ((Action<global::ScrollerDataType, global::CellView>)act)(type, cell);
            });
        });
        appdomain.DelegateManager.RegisterDelegateConvertor<System.Comparison<ILRuntime.Runtime.Intepreter.ILTypeInstance>>((act) =>
        {
            return new System.Comparison<ILRuntime.Runtime.Intepreter.ILTypeInstance>((x, y) =>
            {
                return ((Func<ILRuntime.Runtime.Intepreter.ILTypeInstance, ILRuntime.Runtime.Intepreter.ILTypeInstance, System.Int32>)act)(x, y);
            });
        });
    }
    public void LaunchStart()