Search Unity

Why IJobProcessComponentData doesn't Just Support EntityArchetype or EntityArchetypeQuery

Discussion in 'Entity Component System' started by Opeth001, Feb 5, 2019.

  1. Opeth001

    Opeth001

    Joined:
    Jan 28, 2017
    Posts:
    1,117
    Hi guys ^_^
    i was reading the EntityComponentSystemSamples ReleaseNotes and i saw that IJobProcessComponentData now supports up to 6 seperate IComponentData, it's cool but Why it doesn't Just Support EntityArchetype or EntityArchetypeQuery so it will be easier to support infinite number of IComponentData ?

    I think it will be even a lot more user-friendly to use.
     
  2. tertle

    tertle

    Joined:
    Jan 25, 2011
    Posts:
    3,761
    Not sure what you mean?

    You can use IJobChunk if you need to iterate a ComponentGroup (query)