Search Unity

[Initialization] Recommended way to use serialized data related to ECS?

Discussion in 'Entity Component System' started by Mr-Mechanical, Feb 2, 2019.

  1. Mr-Mechanical

    Mr-Mechanical

    Joined:
    May 31, 2015
    Posts:
    507
    Hi,

    Right now I'm using ScriptableObjects to store data which entities are then created from. What's the best way to create entities from stored data? Should I use ComponentDataWrapper with GameObjects? Should I store ComponentDatas in my ScriptableObject? What is the best approach here? I'm very interested in the optimal way of doing this with pure ECS.

    Thanks a lot. Input is very welcome.
     
    JesOb likes this.