AddComponentMenu
添加组件菜单(可以在UnityEditor的Component的Menu中增加自定义的项目)
[AddComponentMenu("Transform/Follow Transform")]
AssemblyIsEditorAssembly
汇编级属性,使用该属性的Class会被认为是EditorClass
Co……继续阅读 »
sharezer
5年前 (2016-06-03) 1392浏览 0评论
0个赞
AddObjectToAsset 将objectToAdd这个对象添加到指定路径上的现有资源
AssetPathToGUID 返回指定路径path下资源的GUID(全局唯一标识符)
ClearLabels 清除标签
Contains 资源中是否存在该……继续阅读 »
sharezer
5年前 (2016-01-06) 2789浏览 0评论
0个赞