Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    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:
    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,735
  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