Unity基础-脚本的加载与编译顺序

脚本的加载与编译顺序

C#是以Assembly(汇编集)为一个基本单元组织代码的,dll就是一个assembly,dll之间有加载以来顺序

Assets/*.dll
Stamdard Assets/*.cs            -> Assembly-Csharp-First-Pass.dll
Assets/*.cs                -> Assembly-Csharp.dll
Standard Assets/Editor/*.cs   -> Assembly-Csharp-First-pass-editor.dll
/Editor/*.cs                   -> Assembly-Csharp-Editor.dll
posted @ 2019-05-06 10:04  cicarius  阅读(641)  评论(0编辑  收藏  举报