纳金网

标题: [Unity 组件参考手册]组件:管理器设置之标签管理器 [打印本页]

作者: .    时间: 2013-1-31 22:55
标题: [Unity 组件参考手册]组件:管理器设置之标签管理器
The Tag Manager allows you to set up Layers and Tags. To see it choose Edit->roject Settings->Tags.在标签管理器中可以设置层和标签。它位于菜单Edit->roject Settings->Tags.
The Tag Manager 标签管理器
[Properties 属性]    Tags 标签
    You can add new elements by typing in the last element.
    你可以在最后一个元素输入内容来添加一个新元素
    User Layer 8-31
    用户层8-31
    You can add custom named User Layers
    你可以自定义用户层的名称 [Details 细节]Layers can be used to cast rays, render, or apply lighting to certain groups of objects only. You can choose the Layer in the GameObject inspector. More information about how to use Layers can be found here, while Tags are covered here.层可以用于射线检测,渲染,或者设置灯光只作用于特定的对象组。在游戏物体检视面板中可以选择层,更多关于如何使用层的内容点击此链接,这里介绍标签的内容。Tags are used to quickly find objects from scripts, utilizing the Tag name. When a new tag is added, you can choose it from the GameObject tag popup.标签用于在脚本中通过标签名称快速查找物体。当添加新标签后,你可以在游戏物体的标签下拉列表中选择它。
【来源:互联网】
更多精彩教程,尽在web3D纳金网http://www.narkii.com/college/




欢迎光临 纳金网 (http://course.narkii.com/club/) Powered by Discuz! X2.5