Search Unity

ComponentVersion for Buffers

Discussion in 'Entity Component System' started by julian-moschuering, Oct 17, 2018.

  1. julian-moschuering

    julian-moschuering

    Joined:
    Apr 15, 2014
    Posts:
    529
    Hey,
    it seems that BufferComponents already track change versions correctly but GetComponentVersion/DidChange/DidAddOrChange is currently missing for ArchetypeChunkBufferType<T>. Could you add that in the future or is there a good reason not to?
     
  2. Joachim_Ante

    Joachim_Ante

    Unity Technologies

    Joined:
    Mar 16, 2005
    Posts:
    5,203
    Makes sense. I logged a bug for it.
     
    FROS7 likes this.
  3. cort_of_unity

    cort_of_unity

    Unity Technologies

    Joined:
    Aug 15, 2018
    Posts:
    98
    I've just merged a fix for this request. Thanks for the suggestion!