using IFix; using System; using System.Collections.Generic; using System.Linq; using System.Reflection; //1、配置类必须打[Configure]标签 //2、必须放Editor目录 [Configure] public class MyConfig { [IFix] static IEnumerable Hotfix { get { return (from type in Assembly.Load("Assembly-CSharp").GetTypes() select type).ToList(); } } }