Skip to content

EntityWorld.IsCurrentSystemSequential() Method

Definition

Namespace: Brine2D.ECS

Returns true when the system currently executing inside Brine2D.ECS.EntityWorld.Update\(Brine2D\.Core\.GameTime\), Brine2D.ECS.EntityWorld.FixedUpdate\(Brine2D\.Core\.GameTime\), or Brine2D.ECS.EntityWorld.Render\(Brine2D\.Rendering\.IRenderer,Brine2D\.Core\.GameTime\) has the SequentialAttribute or when EnableMultiThreading is globally disabled. Used by CachedEntityQueryBase to suppress parallelism for individual systems without requiring engine-wide multi-threading to be off.

C#
internal bool IsCurrentSystemSequential();

Returns

System.Boolean