Search Unity

  1. We have added a sub-forum for DOTS Graphics. Please use the new space for related discussions.
    Dismiss Notice

Create linkedEntities during conversion

Discussion in 'Data Oriented Technology Stack' started by Jawsarn, May 7, 2020.

  1. Jawsarn

    Jawsarn

    Joined:
    Jan 12, 2017
    Posts:
    152
    I want to be able to read from a scriptableObject some info and add X amounts of linkedEntities during conversion of IConvertGameObjectToEntity. I want to specify the entities that shall be added by either archetype or adding components manually. Is this possible in any way?

    Edit: Answer was in me misunderstanding GameObjectConversionSystem.CreateAdditionalEntity which does what I want.
     
    Last edited: May 7, 2020
    pal_trefall likes this.
unityunity