Unity脚本编译顺序

2017-09-15  本文已影响4人  晓龙酱

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

上一篇下一篇

猜你喜欢

热点阅读