Search Unity

[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:
    124
    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:
    7,911
  3. craig4android

    craig4android

    Joined:
    May 8, 2019
    Posts:
    124
    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:
    124