Represents a collection of ISystem<T> to update sequentially.
public sealed class SequentialSystem<T> :
DefaultEcs.System.ISystem<T>,
System.IDisposable
T
The type of the object used as state to update the systems.
Inheritance System.Object 🡒 SequentialSystem
Implements DefaultEcs.System.ISystem<T>, System.IDisposable
Constructors | |
---|---|
SequentialSystem(ISystem<T>[]) | Initialises a new instance of the SequentialSystem<T> class. |
SequentialSystem(IEnumerable<ISystem<T>>) | Initialises a new instance of the SequentialSystem<T> class. |
Properties | |
---|---|
IsEnabled | Gets or sets whether the current SequentialSystem<T> instance should update or not. |
Methods | |
---|---|
Dispose() | Disposes all the inner ISystem<T> instances. |
Update(T) | Updates all the systems once sequentially. |