CheckInternalConsistency()
Several checks to ensure that the EntityComponentStore has all references that are expected at this time as well as the expected number of entities.
阅读时间1 分钟最后更新于 1 天前
Definition
- Type: Method
- Namespace: Unity.Entities
- Assembly: UnityEngine.EntitiesModule
[Conditional("UNITY_DOTS_DEBUG")][Conditional("ENABLE_UNITY_COLLECTIONS_CHECKS")]public void CheckInternalConsistency()
Remarks
These checks can not safely run while any jobs are running against this EntityManager's World. The caller should consider calling CompleteAllTrackedJobs() first to enforce this constraint.