From f57f62816a6f621cb7e7946e7a97ef5c6f570a82 Mon Sep 17 00:00:00 2001
From: lwb <q3213421wrwqr>
Date: 星期四, 25 二月 2021 16:33:08 +0800
Subject: [PATCH] Merge branch 'ILRuntime'
---
Assets/IFix/Editor/Configure.cs | 12 +++++++++++-
1 files changed, 11 insertions(+), 1 deletions(-)
diff --git a/Assets/IFix/Editor/Configure.cs b/Assets/IFix/Editor/Configure.cs
index 413f449..2e950d2 100644
--- a/Assets/IFix/Editor/Configure.cs
+++ b/Assets/IFix/Editor/Configure.cs
@@ -30,10 +30,20 @@
get
{
return (from type in Assembly.Load("Assembly-CSharp").GetTypes()
- where type.Namespace == null || (!type.Namespace.StartsWith("XLua") && !type.Namespace.StartsWith("IFix"))
+ where type.Namespace == null ||
+ (!type.Namespace.StartsWith("XLua") &&
+ !type.Namespace.StartsWith("IFix") &&
+ type.Namespace != "ILRuntime.Runtime.Generated")
select type);
}
}
+
+ [Filter]
+ static bool Filter(System.Reflection.MethodInfo methodInfo)
+ {
+ return methodInfo.DeclaringType.FullName == "Test"
+ && (methodInfo.Name == "Div" || methodInfo.Name == "Mult");
+ }
}
//鏀剧疆閰嶇疆鐨�
--
Gitblit v1.8.0