Documentation

Unity Engine

Download Unity

Unity Engine

IsWorldInCurrentPlayerLoop(World)

Search the currently active player loop for any systems added by this World.
Read time 1 minuteLast updated 8 hours ago

Definition

  • Type: Method
  • Namespace: Unity.Entities
  • Assembly: UnityEngine.CoreModule
public static bool IsWorldInCurrentPlayerLoop(World world)

Parameters

world

The function will search the currently active player loop for systems owned by this World.

Returns

Type

Description

boolTrue if all of
world
's default system groups are in the player loop, or false if not.

Remarks

This is a convenience wrapper around IsWorldInPlayerLoop() that always searches the currently active player loop.