| 1234567891011121314151617181920212223242526 |
- using System;
- using System.Collections.Generic;
- namespace ET
- {
- /// <summary>
- /// Config组件会扫描所有的有ConfigAttribute标签的配置,加载进来
- /// </summary>
- [ComponentOf(typeof(Scene))]
- public class ConfigComponent: Entity, IAwake, IDestroy
- {
- public struct GetAllConfigBytes
- {
-
- }
-
- public struct GetOneConfigBytes
- {
- public string ConfigName;
- }
-
- public static ConfigComponent Instance;
-
- public Dictionary<Type, object> AllConfig = new Dictionary<Type, object>();
- }
- }
|