Search Feedback

23
votes

new attribute to set script execution order instead of using project setting.

Scripting

-

-

Using script execution order seems to be ugly while many times we need to use same code in difference projects.

And now we have to set up in project setting every time we come to new projects.

So if we can embed this setting directly to the code it will be so easy.

example:
[ExecutionOrder(10)]
public class MyScript : MonoBehaviour {}

[ExecutionOrder(11)]
public class MyScript : MonoBehaviour {}

[ExecutionOrder(0)]
public class MyScript : MonoBehaviour {}

Your opinion counts

Help us make things better. Share your great idea for improving Unity or vote for other people’s.

Log in to post a new idea

Categories

All

(9356)

2D

(241)

Ads

(43)

AI & Navigation

(71)

Analytics

(106)

Animation

(330)

Asset Store

(243)

Assets

(497)

Audio

(159)

Cloud Build

(102)

Collaborate

(33)

Docs & Tutorials

(203)

Editor

(2160)

Everyplay

(13)

Game Performance Reporting

(15)

General

(831)

Graphics

(791)

GUI

(373)

Input

(150)

Licensing

(77)

Networking

(163)

Physics

(349)

Platforms

(413)

Profiling & Optimization

(72)

Runtime

(164)

Scripting

(1044)

Terrain

(152)

WebGL

(134)