PushWorldStack(World)
Makes world the World.DefaultGameObjectInjectionWorld.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Method
- Namespace: Unity.Entities
- Assembly: UnityEngine.EntitiesModule
public static void PushWorldStack(World world)
Parameters
Remarks
Every push should have a matching World.PopWorldStack. It is preferable to use World.ActiveWorldScope, which pops for you even when the body throws.