using System; namespace ET { /// /// 标记Entity的System静态类 用于自动生成System函数 /// [AttributeUsage(AttributeTargets.Class)] public class EntitySystemOfAttribute: EnableClassAttribute { public Type type; /// /// 标记Entity的System静态类 用于自动生成System函数 /// /// Entity类型 /// 是否忽略生成AwakeSystem public EntitySystemOfAttribute(Type type, bool ignoreAwake = false) { this.type = type; } } /// /// 标记LSEntity的System静态类 用于自动生成System函数 /// [AttributeUsage(AttributeTargets.Class)] public class LSEntitySystemOfAttribute: EnableClassAttribute { public Type type; /// /// 标记LSEntity的System静态类 用于自动生成System函数 /// /// LSEntity类型 /// 是否忽略生成AwakeSystem public LSEntitySystemOfAttribute(Type type, bool ignoreAwake = false) { this.type = type; } } }