查看: 728|回复: 0
打印 上一主题 下一主题

[其他] 一些特殊文件夹英文说明

[复制链接]

9903

主题

126

听众

7万

积分

首席设计师

Rank: 8Rank: 8

纳金币
53456
精华
316

最佳新人 热心会员 灌水之王 活跃会员 突出贡献 荣誉管理 论坛元老

跳转到指定楼层
楼主
发表于 2015-8-31 23:33:54 |只看该作者 |倒序浏览

Resources
The Resources folder is a special folder which allows you to access resources by name in your scripts, rather than by the usual (and recommended) method of direct references. For this reason, caution is advised when using it, because all items you put in the resources are included in your build (even unused assets), because Unity has no way of determining which assets may be used by your project.

Editor
The Editor folder name is a special name which allows your scripts access to the Unity Editor Scripting API. If your script uses any classes or functionality from the UnityEditor namespace, it has to be placed in a folder called Editor (or a subfolder).

Plugins
The "Plugins" folder is where you must put any C, C++ or Objective-C based Plugins which should be included with your project. Plugins are a pro-only feature.

Compilation Order
These special names (and a few others) also determine the compilation order, which is useful to know if you are mixing languages in your project (i.e. using C# and Javascript scripts in the same project), so sometimes you might see the suggestion to put a script in a folder called "plugins" just for this purpose.
Gizmos
The gizmos folder holds all the texture/icon assets for use with Gizmos.DrawIcon(). Texture assets placed inside this folder can be called by name, and drawn on-screen as a gizmo in the editor.
WebPlayerTemplates
It is used to replace the default web page used for web builds
StreamingAssets
If you have a "StreamingAssets" folder in the Assets folder of your project, it will be copied to your player builds and be present in the path given by Application.streamingAssetsPath.

分享到: QQ好友和群QQ好友和群 腾讯微博腾讯微博 腾讯朋友腾讯朋友 微信微信
转播转播0 分享淘帖0 收藏收藏0 支持支持0 反对反对0
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

关闭

站长推荐上一条 /1 下一条

手机版|纳金网 ( 闽ICP备08008928号

GMT+8, 2024-5-6 14:27 , Processed in 0.381870 second(s), 29 queries .

Powered by Discuz!-创意设计 X2.5

© 2008-2019 Narkii Inc.

回顶部