PushWorldStack(World)
Makes world the World.DefaultGameObjectInjectionWorld.
阅读时间1 分钟最后更新于 14 天前
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.