Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice
  2. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  3. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Tiny Script Execution Order

Discussion in 'Project Tiny' started by furroy, Jun 10, 2019.

  1. furroy

    furroy

    Joined:
    Feb 24, 2017
    Posts:
    93
    I have one system that I want to always run after another, but when I check my project settings > script execution order, none of my tiny c# scripts show up in that popup. Is there somewhere else to configure this?
     
  2. AlexMasse

    AlexMasse

    Joined:
    Jun 29, 2014
    Posts:
    19
    There's no way to set it in the editor at the moment but you can use the UpdateAfter and UpdateBefore attributes:

    Code (CSharp):
    1. [UpdateAfter(typeof(AnotherSystem))]
    2. public class MySystem : ComponentSystem
     
  3. raymondyunity

    raymondyunity

    Unity Technologies

    Joined:
    Apr 30, 2018
    Posts:
    122
    Many of the project settings are not yet reflective of the Project Tiny projects. Only the DOTS project settings on the right relate to the project you have created in Project Tiny.