1.éèæ件夹
以.å¼å¤´çæ件夹ä¼è¢«Unity忽ç¥ãå¨è¿ç§æ件夹ä¸çèµæºä¸ä¼è¢«å¯¼å
¥ï¼èæ¬ä¸ä¼è¢«ç¼è¯ãä¹ä¸ä¼åºç°å¨Projectè§å¾ä¸ã
2.Standard Assets
å¨è¿ä¸ªæ件夹ä¸çèæ¬æå
被ç¼è¯ã
è¿ä¸ªæ件夹ä¸çèæ¬ä¼è¢«å¯¼åºå°Assembly-CSharp-firstpass, Assembly-UnityScript-firstpass æ Assembly-Boo-firstpass项ç®ä¸ï¼ä¾è¯è¨èå®ãåè
http://docs.unity3d.com/Documentation/Manual/ScriptCompileOrderFolders.html ãå¨è¿ä¸ªæ件夹ä¸çèæ¬æ¯å
¶ä»èæ¬é½è¦å
ç¼è¯ãå°èæ¬æ¾å¨è¿ä¸ªæ件夹éï¼å°±å¯ä»¥ç¨C#èæ¬æ¥è®¿é®jsèæ¬æå
¶ä»è¯è¨çèæ¬ã
3.Pro Standard Assets
è·Standard Assetsç¸åï¼åªä¸è¿éé¢çæ件æ¯ç»Proçæ¬çUnity使ç¨çã
4.Editor
以Editorå½åçæ件夹å
许å
¶ä¸çèæ¬è®¿é®Unity EditorçAPIãå¦æèæ¬ä¸ä½¿ç¨äºå¨UnityEditorå½å空é´ä¸çç±»ææ¹æ³ï¼å®å¿
须被æ¾å¨å为Editorçæ件夹ä¸ãEditoræ件夹ä¸çèæ¬ä¸ä¼å¨buildæ¶è¢«å
å«ã
å¨é¡¹ç®ä¸å¯ä»¥æå¤ä¸ªEditoræ件夹ã
注æï¼å¦æå¨æ®éçæ件夹ä¸ï¼Editoræ件夹å¯ä»¥å¤äºç®å½çä»»ä½å±çº§ãå¦æå¨ç¹æ®æ件夹ä¸ï¼é£Editoræ件夹å¿
é¡»æ¯ç¹æ®æ件夹çç´æ¥åç®å½ã
5.Plugins
Pluginsæ件夹ç¨æ¥æ¾nativeæ件ãå®ä»¬ä¼è¢«èªå¨å
å«è¿buildä¸å»ã注æè¿ä¸ªæ件夹åªè½æ¯Assetsæ件夹çç´æ¥åç®å½ã
å¨Windowså¹³å°ä¸ï¼native æ件æ¯dllæ件ï¼Mac OS Xä¸ï¼æ¯bundleæ件ï¼Linuxä¸ï¼æ¯.soæ件ã
è·Standard Assetsä¸æ ·ï¼è¿éçèæ¬ä¼æ´æ©çç¼è¯ï¼å
许å®ä»¬è¢«ä¹å¤çèæ¬è®¿é®ã
5.1.Plugins/x86
å¦æ为32bitæ64bitå¹³å°å建游æï¼é£ä¹è¿ä¸ªæ件夹ä¸çnative pluginæ件ä¼è¢«èªå¨çå
å«å¨æ¸¸æbuildä¸ãå¦æè¿ä¸ªæ件夹ä¸åå¨ï¼åUnityä¼æ¥æ¾Pluginsæ件夹ä¸çnative pluglinsã
5.2.Plugins/x86_64
å¦æ为32bitæ64bitå¹³å°å建游æï¼é£ä¹è¿ä¸ªæ件夹ä¸çnative pluginæ件ä¼è¢«èªå¨çå
å«å¨æ¸¸æbuildä¸ãå¦æè¿ä¸ªæ件夹ä¸åå¨ï¼åUnityä¼æ¥æ¾Pluginsæ件夹ä¸çnative pluglinsã
å¦æè¦å建universal buildï¼å»ºè®®ä½ åæ¶ä½¿ç¨è¿ä¸¤ä¸ªæ件夹ãç¶åå°32bitå64bitçnative pluginsæ¾è¿ç¸åºçæ件夹ä¸ã
5.3.Plugins/Android
å¨è¿ä¸ªæ件夹éæ¾å
¥Java.jaræ件ãç¨äºjavaè¯è¨çpluginsã.soæ件ä¹ä¼è¢«å
å«è¿æ¥ãåè
http://docs.unity3d.com/Documentation/Manual/PluginsForAndroid.html5.4.Plugins/iOS
A limited, simple way to automatically add (as symbolic links) any .a, .m, .mm, .c, or .cpp files into the generated Xcode project. See
http://docs.unity3d.com/Documentation/Manual/PluginsForIOS.htmlIf you need more control how to automatically add files to the Xcode project, you should make use of the PostprocessBuildPlayer feature. Doing so does not require you to place such files in the Plugins/iOS folder. See
http://docs.unity3d.com/Documentation/Manual/BuildPlayerPipeline.html6.Resources
Resourcesæ件夹å
è®¸ä½ å¨èæ¬ä¸éè¿æ件路å¾åå称æ¥è®¿é®èµæºãä½è¿æ¯æ¨è使ç¨ç´æ¥å¼ç¨æ¥è®¿é®èµæºã
æ¾å¨è¿ä¸æ件夹çèµæºæ°¸è¿è¢«å
å«è¿buildä¸ï¼å³ä½¿å®æ²¡æ被使ç¨ãå 为Unityæ æ³å¤æèæ¬æ没æ访é®äºå
¶ä¸çèµæºã
项ç®ä¸å¯ä»¥æå¤ä¸ªResourcesæ件夹ï¼å æ¤ä¸å»ºè®®å¨å¤ä¸ªæ件夹ä¸æ¾ååçèµæºã
ä¸æ¦build游æï¼Resourcesæ件夹ä¸çææèµæºè¢«æå
è¿æ¸¸æåæ¾èµæºçarchiveä¸ãè¿æ ·å¨æ¸¸æçbuildä¸å°±ä¸åå¨Resourcesæ件夹äºãå³ä½¿èæ¬ä¸ä»ç¶ä½¿ç¨äºèµæºå¨é¡¹ç®ä¸çè·¯å¾ãåè
http://docs.unity3d.com/Documentation/Manual/LoadingResourcesatRuntime.html注æï¼å½èµæºä½ä¸ºèæ¬åé被访é®æ¶ï¼è¿äºèµæºå¨èæ¬è¢«å®ä¾åå就被å è½½è¿å
åãå¦æèµæºå¤ªå¤§ï¼ä½ å¯è½ä¸å¸æå®è¢«è¿æ ·å è½½ãé£ä¹ä½ å¯ä»¥å°è¿äºå¤§èµæºæ¾è¿Resourcesæ件夹ä¸ï¼éè¿Resources.Loadæ¥å è½½ãå½ä¸å使ç¨è¿äºèµæºäºï¼å¯ä»¥éè¿Destroyç©ä½ï¼åè°ç¨Resources.UnloadUnusedAssetsæ¥éæ¾å
åã
7.Editor Default Resources
è¿æ¯ä¸ºeditor èæ¬ä½¿ç¨çæ件夹ã
8.Gizmos
Gizmosæ件夹åæ¾ç¨Gizmos.DrawIconæ¹æ³ä½¿ç¨çè´´å¾ãå¾æ èµæºãæ¾å¨Gizmosæ件夹ä¸çè´´å¾èµæºå¯ä»¥ç´æ¥éè¿å称使ç¨ï¼å¯ä»¥è¢«Editorä½ä¸ºgizmoç»å¨å±å¹ä¸ã
9.WebPlayerTemplates
ç¨æ¥æ¿æ¢web buildçé»è®¤ç½é¡µãè¿ä¸ªæ件夹ä¸çèæ¬é½ä¸ä¼è¢«ç¼è¯ãè¿ä¸ªæ件夹å¿
é¡»ä½ä¸ºAssetsæ件夹çç´æ¥åç®å½ã
10.StreamingAssets
è¿éçæ件ä¼è¢«æ·è´å°buildæ件夹ä¸ï¼ä¸ä¼ä¿®æ¹ï¼ç§»å¨åç½é¡µçä¸åï¼ä»ä»¬ä¼è¢«åµå
¥å°æç»buildæ件ä¸ï¼ãå®ä»¬çè·¯å¾ä¼å å¹³å°èæå·®å¼ï¼ä½é½å¯ä»¥éè¿Application.streamingAssetsPathæ¥è®¿é®ã
åè
http://docs.unity3d.com/Documentation/Manual/StreamingAssets.htmlå
http://docs.unity3d.com/Documentation/ScriptReference/Application-streamingAssetsPath.htmlã
åèæç®ï¼
http://wiki.unity3d.com/index.php/Special_Folder_Names_in_your_Assets_Folder