大约有 157 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0118 秒)
...例对象 animation 。 animation.loadAtlas("resource/ani/fighter.json");//加载图集并播放 animation.x = 200;//设置 animation 对象的属性 x 的值,用于控制 animation 对象的显示位置。 animation.y = 200;//设置 animation 对象的属性 x 的值,用于控制 animation 对...
来源: Laya3.0_api 发布时间: 20231115
...割组合为一个切片动画。 Image和Clip组件是唯一支持异步加载的两个组件,比如clip.skin = "abc/xxx.png",其他UI组件均不支持异步加载。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By alpha : Number透明...
来源: laya_api 发布时间: 20170929
...割组合为一个切片动画。 Image和Clip组件是唯一支持异步加载的两个组件,比如clip.skin = "abc/xxx.png",其他UI组件均不支持异步加载。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获...
来源: Laya2.0_api 发布时间: 20190513
...为使用工具的参考。 关于导出资源在layaAir中的加载使用,请参考官方3D示例。 unity2017以后的版本,由于unity中API结构调整,导入插件时必须更新API(I Made a Backup. Go Ahead!)。否则会出现部分...
来源: Laya_社区 发布时间: 20170428
...skin : String 对象的皮肤地址,以字符串表示。 如果资源未加载,则先加载资源,加载完成后应用于此对象。 注意:资源加载完成后,会自动缓存至资源库中。 Clip sources : Array 源数据。 Clip spaceX : intX方向文字间隙FontClip space...
来源: Laya2.0_api 发布时间: 20190513
...目录 如下图 打开LayaSample.js 既然多了一个资源 那就要预加载 上一节有讲到 修改加载的地方 //加载图片 Laya.loader.load(["res/background.png", "res/m_background.png", "res/floor.png"], laya.utils.Handler.create(this, onLoaded), laya.utils.Handler.create(this, onLoad...
来源: Laya_社区 发布时间: 20160728
...) { var newVec: Vector2 = new Vector2(); this.resPath.push(newVec); } //预加载所有资源 var resource: ILoadURL[] = [{ url: "res/threeDimen/scene/TerrainScene/XunLongShi.ls", priority: 1 }, { url: "res/threeDimen/skinModel/LayaMonkey/LayaMonkey.lh", priority: 1 }, { url: "res/threeDimen/scene/T...
来源: Laya3.0_文档 发布时间: 20230303