Unity脚本编译顺序

来源:互联网 发布:纽易网络 编辑:程序博客网 时间:2024/05/21 06:22

The phases of compilation are as follows:

  1. Runtime scripts in folders called Standard Assets, Pro Standard Assets, Plugins.

  2. Editor scripts in folders called Editor that are anywhere inside top-level folders called Standard Assets, Pro Standard Assets and Plugins.

  3. All other scripts that are not inside a folder called Editor.

  4. All remaining scripts (those that are inside a folder called Editor).

https://docs.unity3d.com/Manual/ScriptCompileOrderFolders.html