AComponentSystem_TState,TComponent_.AComponentSystem(World,IParallelRunner,int).md

March 19, 2022 ยท View on GitHub

DefaultEcs

DefaultEcs.System.AComponentSystem<TState,TComponent>

AComponentSystem(World, IParallelRunner, int) Constructor

Initialise a new instance of the AComponentSystem<TState,TComponent> class with the given World and IParallelRunner.

protected AComponentSystem(DefaultEcs.World world, DefaultEcs.Threading.IParallelRunner runner, int minComponentCountByRunnerIndex);

Parameters

world World

The World on which to process the update.

runner IParallelRunner

The IParallelRunner used to process the update in parallel if not null.

minComponentCountByRunnerIndex System.Int32

The minimum number of component per runner index to use the given runner.

Exceptions

System.ArgumentNullException
world is null.