Search Unity

  1. Unity 2020.1 has been released.
    Dismiss Notice
  2. We are looking for feedback on the experimental Unity Safe Mode which is aiming to help you resolve compilation errors faster during project startup.
    Dismiss Notice
  3. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice

[Solved] does Script execution order also affect derived components?

Discussion in 'Scripting' started by craig4android, Apr 9, 2020.

  1. craig4android

    craig4android

    Joined:
    May 8, 2019
    Posts:
    113
    Edit->ProjectSecttings->Script execution order

    If I put a script to be executed before 0 and then derive a class from this script.

    Will the derived script also be executed before 0?

    [Solved]
     
    Last edited: Apr 9, 2020
  2. PraetorBlue

    PraetorBlue

    Joined:
    Dec 13, 2012
    Posts:
    2,398
  3. craig4android

    craig4android

    Joined:
    May 8, 2019
    Posts:
    113
    yeah but the result wouldn't be reliable if it the execution order seems to be affected, because it could be just random. But I'm sure that derived classes aren't affected anyways.
     
  4. kasztelan

    kasztelan

    Joined:
    Nov 3, 2014
    Posts:
    11
  5. craig4android

    craig4android

    Joined:
    May 8, 2019
    Posts:
    113
unityunity