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