ConfigComponent.cs 351 B

123456789101112131415
  1. using System;
  2. using System.Collections.Generic;
  3. namespace ET
  4. {
  5. /// <summary>
  6. /// Config组件会扫描所有的有ConfigAttribute标签的配置,加载进来
  7. /// </summary>
  8. public class ConfigComponent: Entity
  9. {
  10. public static ConfigComponent Instance;
  11. public Dictionary<Type, ACategory> AllConfig = new Dictionary<Type, ACategory>();
  12. }
  13. }