ドキュメント

Unity Engine

Download Unity

Unity Engine

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 分最終更新 9時間前

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.