Skip to content

Latest commit

 

History

History
37 lines (26 loc) · 2.37 KB

SequentialSystem_T_.md

File metadata and controls

37 lines (26 loc) · 2.37 KB

SequentialSystem Class

Represents a collection of ISystem<T> to update sequentially.

public sealed class SequentialSystem<T> :
DefaultEcs.System.ISystem<T>,
System.IDisposable

Type parameters

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.