This commit is contained in:
sin365 2024-12-19 14:55:59 +08:00
parent d38802dac0
commit 4fdd142c13

View File

@ -96,7 +96,7 @@ public class AxiProjectTools : EditorWindow
if (monoCom == null)
continue;
Type monoType = monoCom.GetType();
if (!monoType.FullName.Contains("UnityEngine.UI"))
if (!monoType.Assembly.FullName.Contains("UnityEngine.UI"))
continue;
// »ñÈ¡MonoScript×ÊÔ´
MonoScript monoScript = MonoScript.FromMonoBehaviour(monoCom);