assetdatabase.ismainasset 是否主资源

2014-12-31 23:31| 发布者: 杨炎| 查看: 1469| 评论: 0|原作者: 蛮牛|来自: yzc88亚洲城脚本manual

摘要: assetdatabase.ismainasset 是否主资源static functionismainasset(obj:object) : boolstatic functionismainasset(instanceid: int) : booldescription描述is asset a main asset in the project window?该资源在pr ...

assetdatabase.ismainasset 是否主资源

static functionismainasset(obj:object) : bool

static functionismainasset(instanceid: int) : bool

description描述

is asset a main asset in the project window?

该资源在project窗口中是不是主资源?

for example an imported model has a game object as its root and several meshes and child game objects in expanded state. the root game object is the main asset in this case.

例如导入模型有一个游戏物体做为它的根物体以及几个网格和扩充的子物体。在这个例子中根物体就是主资源。

相关阅读

文章点评
相关文章