public ComponentSystem() { try { ComponentSystemAttribute attr = AttributeOf(this.GetType()); this.SystemName = attr.SystemName; this.ProcessingCycles = attr.ProcessingCycles; this.Watching = attr.Watching; this.Listening = attr.Listening; } catch (Exception ex) { throw new AttributeException( $"Required attribute of class 'ComponentSystemAttribute' not found in derived class '{GetType()}'", ex); } }
public ComponentSystemAttribute(string systemName, ProcessingCycles cycles) { SystemName = systemName; ProcessingCycles = cycles; }
public ComponentSystemAttribute(string systemName, ProcessingCycles cycles) : this(systemName, cycles, ProcessingFlags.None) { }