少年修仙传客户端基础资源
hch
2021-04-22 53a8f158c66e6b4930800026cd83de7e99d9f08e
0312 IL扩展支持
3个文件已修改
26 ■■■■■ 已修改文件
Assets/ILRuntime/Editor/ILRuntimeCLRBinding.cs 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Assets/ILRuntime/Src/ILBehaviourProxy.cs 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Assets/ILRuntime/Src/ILLauncherProxy.cs 23 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Assets/ILRuntime/Editor/ILRuntimeCLRBinding.cs
@@ -30,6 +30,7 @@
        typeof(Text),
        typeof(Button),
        typeof(Image),
        typeof(Toggle),
        //主工程相关
        typeof(Redpoint),
        typeof(Int2),
Assets/ILRuntime/Src/ILBehaviourProxy.cs
@@ -118,7 +118,9 @@
            if (ilBehaviourHolders.TryGetValue(name, out holder))
            {
                if (holder.onDisable != null)
                {
                    appDomain.Invoke(holder.onDisable, holder.instance);
                }
            }
        }
    }
Assets/ILRuntime/Src/ILLauncherProxy.cs
@@ -203,6 +203,29 @@
            });
        });
        appdomain.DelegateManager.RegisterDelegateConvertor<UnityEngine.Events.UnityAction<bool>>((act) =>
        {
            return new UnityEngine.Events.UnityAction<bool>((arg0) =>
            {
                ((System.Action<bool>)act)(arg0);
            });
        });
        appdomain.DelegateManager.RegisterDelegateConvertor<UnityEngine.Events.UnityAction<float>>((act) =>
        {
            return new UnityEngine.Events.UnityAction<float>((arg0) =>
            {
                ((System.Action<float>)act)(arg0);
            });
        });
        appdomain.DelegateManager.RegisterDelegateConvertor<UnityEngine.Events.UnityAction<string>>((act) =>
        {
            return new UnityEngine.Events.UnityAction<string>((arg0) =>
            {
                ((System.Action<string>)act)(arg0);
            });
        });
    }
    public void LaunchStart()