assetdatabase.loadallassetrepresentationsatpath 加载所在路径所有资源说明 ...

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

摘要: assetdatabase.loadallassetrepresentationsatpath 加载所在路径所有资源说明static functionloadallassetrepresentationsatpath(assetpath:string) :objectdescription描述returns all asset representations at as ...

assetdatabase.loadallassetrepresentationsatpath 加载所在路径所有资源说明

static functionloadallassetrepresentationsatpath(assetpath:string) :object[]

description描述

returns all asset representations at assetpath.

返回assetpath所在路径的所有资源说明。

asset representations are objects in the asset that are visible in the project view. all paths are relative to the project folder. like: "assets/mytextures/hello.png"

资源说明是资源在项目视图可见的物体。所有路径相对于项目文件夹。像“assets/mytextures/hello.png”。

参见:assetdatabase.loadmainassetatpath,assetdatabase.loadassetatpath,assetdatabase.loadallassetsatpath

相关阅读

文章点评
相关文章