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) if (monoCom == null)
continue; continue;
Type monoType = monoCom.GetType(); Type monoType = monoCom.GetType();
if (!monoType.FullName.Contains("UnityEngine.UI")) if (!monoType.Assembly.FullName.Contains("UnityEngine.UI"))
continue; continue;
// »ñÈ¡MonoScript×ÊÔ´ // »ñÈ¡MonoScript×ÊÔ´
MonoScript monoScript = MonoScript.FromMonoBehaviour(monoCom); MonoScript monoScript = MonoScript.FromMonoBehaviour(monoCom);