Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Component set data misunderstandings

Discussion in 'Entity Component System' started by rootools, May 11, 2018.

  1. rootools

    rootools

    Joined:
    Nov 25, 2013
    Posts:
    20
    Hi. I have a little misunderstandings about components data. I have 10 components created with GameObjectEntity. How i can set data at this components on load game from ScriptableObjects or save file or something external?

    The only option "on paper" that I found - set data inside OnUpdate and kill system after it. But it looks strange..