| | |
| | | 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) => |
| | |
| | | ((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() |