unity 打开asset自定义处理
2015-11-13 11:23
357 查看
OnOpenAssetAttribute
Namespace: UnityEditor.Callbacks/
Inherits from: CallbackOrderAttribute
Description
Callback attribute for opening an asset in Unity (e.g the callback is fired when double clicking an asset in the Project Browser).Adding this attribute to a static method will make the method be called when Unity is about to open an asset. The method should have the following signature:
static bool OnOpenAsset(int instanceID, int line)
Return true if you handled the opening of the asset or false if an external tool should open it.
Inherited members
相关文章推荐
- #你好Unity3D#手机上的路径(来自我的长微博)
- #你好Unity3D#避免玩家作弊(来自我的长微博)
- Unity3D研究院之处理摄像机与角色之间被挡时的局部透明效果
- Unity研究院之提前获取粒子特效的播放时长
- Unity3D研究院之监听Project视图结构变化的事件
- Unity人工智能学习—躲避规则障碍一
- VS调试Unity3D脚本
- unity 菜单栏添加新菜单
- Unity3D脚本自动添加tag和Layer
- Unity UGUI-ScrollBar的滑块 设置为不会根据内容 自动拉伸
- Unity UGUI-ScrollRect的Mask 对动态字体无效
- cardboard sdk for unity 系统分析 - 属性行为分析CardBoard类
- cardboard sdk for unity 系统分析 - 对像与类
- [Unity3D] 通过修改PlayMaker源代码实现进化版的FSM
- 搭建CARDBOARD+ANDROID+unity3d的VR开发环境
- Unity3D中隐藏与显示物体的一些操作
- 猫都能学会的Unity3D Shader入门指南(二)
- 猫都能学会的Unity3D Shader入门指南(一)
- Surface Shader Examples 详解
- 关于Unity3d中的LayerMask使用