EntityManager
Return the entity manager this transaction operates upon.
Read time 1 minuteLast updated 4 days ago
Definition
- Type: Property
- Namespace: Unity.Entities
- Assembly: UnityEngine.EntitiesModule
public EntityManager EntityManager { get; }
Remarks
Do not use this property to invoke arbitrary methods from an ExclusiveEntityTransaction because it is undefined behavior. Some EntityManager methods involve operations that are not safe to perform from worker threads, or which might work in certain contexts but fail in others. Only the operations exposed by the ExclusiveEntityTransaction struct are guaranteed to function correctly.