大约有 1,355 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0183 秒)
...ts:25 场景被关闭后,是否自动销毁(销毁节点和使用到的资源),默认为false autoSize autoSize: boolean = false Inherited from Text.autoSize Defined in laya/display/Sprite.ts:265 指定是否自动计算宽高数据。默认值为 false 。 Sprite宽高默认为0,并且不...
来源: Laya3.0_api 发布时间: 20231115
提示资源重复加载 let swimpoorpath01="Comp/yard_swimpool01.png"; let swimpoorpath02="Comp/yard_swimpool02.png"; export default class Yard extends Laya.Sprite { private swimpoolani:Laya.Animation; constructor() { super(); this.swimpoolani=new Laya.Animation(); //this.init(); this.swimp...
来源: Laya_社区 发布时间: 20190805
...unction start():void { //加载swf图集资源,只需要加载image.json即可,具体结构请参考附件 Laya.loader.load([{url: "res/atlas/flicker/image.json", type: Loader.ATLAS}], Handler.create(this, onLoaded)); } ...
来源: Laya_社区 发布时间: 20170608
...Inherited from Resource.url Defined in laya/resource/Resource.ts:107 获取资源的URL地址。 uuid uuid: string Inherited from Resource.uuid Defined in laya/resource/Resource.ts:109 获取资源的UUID。 Static DEBUG DEBUG: boolean = false Inherited from Resource.DEBUG Defined in laya/resource/R...
来源: Laya3.0_api 发布时间: 20231115
... 2025-01-06 18:01 比如我后面加的几张截图,这些地方在spine资源初始化的时候,如我项目中spine资源很多时,抓取的memory中占据的arraybuffer内存也很多,是否根据实际需要的长度去创建 layaAir小孟 • 2025-01-06 19:15 这个在3.3上改啦,但...
来源: Laya_社区 发布时间: 20250102
...自: 重新到官网下载最新版本的IDE 打包图集的时候需要在资源文件夹外再套一层文件夹 2017-08-10 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 luo7954 相关问题 用二的幂次方图集和非二的幂次...
来源: Laya_社区 发布时间: 20170810
...ts:25 场景被关闭后,是否自动销毁(销毁节点和使用到的资源),默认为false autoSize autoSize: boolean = false Inherited from Text.autoSize Defined in laya/display/Sprite.ts:265 指定是否自动计算宽高数据。默认值为 false 。 Sprite宽高默认为0,并且不...
来源: Laya3.0_api 发布时间: 20231115
...示。  (图3) ### 1.3 修改图集路径和复制Tiled资源 ##### 只是存为json文件还不够,我们还要更改image绝对路径为相对路径。 我们通过IDE,打开刚刚保存的`orthogonal.json`,搜索关键字`"image"`我们会发现默认的image路径位于Ti...
来源: Laya2.0_文档 发布时间: 20210715
... Inherited from Resource.url Defined in laya/resource/Resource.ts:99 获取资源的URL地址。 uuid uuid: string Inherited from Resource.uuid Defined in laya/resource/Resource.ts:101 获取资源的UUID。 Static DEBUG DEBUG: boolean = false Inherited from Resource.DEBUG Defined in laya/resource/R...
来源: Laya3.0_api 发布时间: 20231102
...Inherited from Resource.url Defined in laya/resource/Resource.ts:107 获取资源的URL地址。 uuid uuid: string Inherited from Resource.uuid Defined in laya/resource/Resource.ts:109 获取资源的UUID。 Static DEBUG DEBUG: boolean = false Inherited from Resource.DEBUG Defined in laya/resource/R...
来源: Laya3.0_api 发布时间: 20231115