Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Game Object Conversion article rewritten

Discussion in 'Entity Component System' started by 5argon, Feb 7, 2020.

  1. 5argon

    5argon

    Joined:
    Jun 10, 2013
    Posts:
    1,554
    I had one old article when conversion workflow was just released back before preview.33 when proxies and GameObjectEntity were more popular. It got unusually higher view count than others in the analytics so I think there are demands for tutorial about this. But it is very outdated now.

    I have just finished writing it again into this new one :
    https://gametorrahod.com/game-object-conversion-and-subscene/

    It's really big, it says 40 min read but there are so many prerequisites to explain before getting into :

    - Conversion world and how it works.
    - How to use the conversion mapper system inside it.
    - ConvertToEntity : both modes, and Stop behaviour.
    - Component objects and how it relates to conversion world.
    - What is actually an inject
    - GameObjectConversionSystem
    - TransformConversion's behaviour (Parent / Child / NonUniformScale or not)
    - IConvertGameObjectToEntity
    - Primary entity traveling while in conversion and other usages.
    - GameObjectConversionUtility
    - Declaring prefabs or asset and getting out entity with Prefab or Asset component.
    - Declaring hybrid component and creating companion game object
    - [GenerateAuthoringComponent]
    - Getting conversion result that comes with LinkedEntityGroup.
    - Subscene + live link (a little)

    If you see any topic about conversion missing please feel free to mention, I will try to add more about them later.
     
    Last edited: Feb 8, 2020
    pahe, thelebaron, felipin and 18 others like this.
  2. CubeGameStudio

    CubeGameStudio

    Joined:
    Dec 1, 2019
    Posts:
    18
    This is amazing man! ty!
     
  3. filod

    filod

    Joined:
    Oct 3, 2015
    Posts:
    198
    Impressive work ! since we don'y have so much chinese resource about DOTS, i managed to translate this article and post it onto a chinese website, if you feel uncomfortable pls tell me to delete.

    thanks again!