| | |
| | | EditorWindow.GetWindow<ILRuntimeCrossBinding>("生成跨域继承适配器").Show(); |
| | | } |
| | | |
| | | Type type = typeof(DtcBasic); |
| | | Type type = typeof(Snxxz.UI.OperationBase); |
| | | |
| | | private void OnGUI() |
| | | { |
| | |
| | | |
| | | 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")); |