Search Unity

OnUpdate order of execution using JobSystem

Discussion in 'Entity Component System' started by SirMazius, Apr 22, 2018.

  1. SirMazius

    SirMazius

    Joined:
    Oct 26, 2016
    Posts:
    11
    Hello there!

    Im using the new ECS & Job System and im wondering if its posible to determine the execution order of each system. The thing is that i need to conect a system to other in a specific order and i cant figure how to do that

    Thanks!
     
    Last edited: Apr 22, 2018
  2. eizenhorn

    eizenhorn

    Joined:
    Oct 17, 2016
    Posts:
    2,685
    UpdateBefore/UpdateAfter attributes
     
  3. SirMazius

    SirMazius

    Joined:
    Oct 26, 2016
    Posts:
    11
    Thanks a lot :)
     
  4. MadeFromPolygons

    MadeFromPolygons

    Joined:
    Oct 5, 2013
    Posts:
    3,983
    Or use barriers I believe.