少年修仙传客户端基础资源
hch
2021-03-04 2ffc3ff93ffde63c2ba307e94e1e1b809dda817b
0312 跨域继承
1个文件已修改
4 ■■■■ 已修改文件
Assets/ILRuntime/Editor/ILRuntimeCrossBinding.cs 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Assets/ILRuntime/Editor/ILRuntimeCrossBinding.cs
@@ -11,7 +11,7 @@
        EditorWindow.GetWindow<ILRuntimeCrossBinding>("生成跨域继承适配器").Show();
    }
    Type type = typeof(DtcBasic);
    Type type = typeof(Snxxz.UI.OperationBase);
    private void OnGUI()
    {
@@ -30,7 +30,7 @@
    void GenerateCrossbindAdapter()
    {
        var path = "Assets/Scripts/ILRuntime/Src/Inheritance/{0}Adapter.cs";
        var path = "Assets/ILRuntime/Src/Inheritance/{0}Adapter.cs";
        using (System.IO.StreamWriter sw = new System.IO.StreamWriter(string.Format(path, type.Name)))
        {
            sw.WriteLine(ILRuntime.Runtime.Enviorment.CrossBindingCodeGenerator.GenerateCrossBindingAdapterCode(type, "ILCrossBinding"));