Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
A list of special folder names in the Unity Editor.

Scripting namespaces

UnityEditor namespace:

  • ./Editor
  • ./Plugins/Editor
  • ./Standard Assets/Editor
  • ./Pro Standard Assets/Editor

(can we have an "Editor" folder elsewhere? probably not)

Native plugins:

  • ./Plugins
  • ./Plugins/x86
  • ./Plugins/x86_64
  • ./Plugins/Android
  • ./Plugins/iOS

Compilation order

Manual page

First pass:

  • ./Standard Assets
  • ./Standard Assets (mobile)
  • ./Plugins
  • ./Pro Standard Assets

First pass, part two:

  • ./Standard Assets/Editor
  • ./Pro Standard Assets/Editor
  • ./Plugins/Editor

Main pass:

  • All other scripts not in "Editor"

Final pass:

  • ./Editor

Asset management

Resources

StreamingAssets

Editor assets

Gizmos (textures usable by Gizmos.DrawIcon)

Others

WebPlayerTemplates (no scripts will compile, see manual)

Sources

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment