Skip to content

Commit

Permalink
Adding last comment
Browse files Browse the repository at this point in the history
  • Loading branch information
jkeon committed Jan 17, 2024
1 parent a5324a9 commit 63f405b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Scripts/Runtime/Entities/Lifecycle/EntityLifecycleStatus.cs
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,8 @@ public UpdateArrivedJob(

public void Execute(in ArchetypeChunk chunk, int unfilteredChunkIndex, bool useEnabledMask, in v128 chunkEnabledMask)
{
//We're deliberately not using the chunk filter here, because we want to know about all entities that
//have entered the world, regardless if they are disabled or not.
NativeArray<Entity> entities = chunk.GetNativeArray(m_EntityTypeHandle);

for (int i = 0; i < entities.Length; ++i)
Expand Down

0 comments on commit 63f405b

Please sign in to comment.