using System; using System.Collections.Generic; namespace ET { /// /// Config组件会扫描所有的有ConfigAttribute标签的配置,加载进来 /// [ComponentOf(typeof(Scene))] public class ConfigComponent: Entity, IAwake, IDestroy { public IConfigLoader ConfigLoader; public static ConfigComponent Instance; public Dictionary AllConfig = new Dictionary(); } }