大约有 3,617 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0143 秒)
Laya_社区(2682) Laya3.0_api(265) Laya2.0_文档(227) Laya2.0_api(113) Laya3.0_文档(104) laya_api(98) Laya_示例(83) Laya2.0_示例(45)
...t;hero_down"); body = new Laya.Animation() //播放动画 body.play(0,true,'hero_down'); 如果这样的话我这里执行了之后会出现一个报错 laya.core.js:4467 Uncaught TypeError: url.indexOf is not a function 如果我单纯只想拿一张小图的话就不会报错,是可以执...
来源: Laya_社区 发布时间: 20170330
...ned By altKey : Boolean[read-only] 表示 Alt 键是处于活动状态 (true) 还是非活动状态 (false)。 Event charCode : Boolean[read-only] 包含按下或释放的键的字符代码值。字符代码值为英文键盘值。 Event ctrlKey : Boolean[read-only] 表示 Ctrl 键是处于...
来源: Laya2.0_api 发布时间: 20190513
...代码为 1282 不勾选hdr msaa或者在代码里 camera.enableHDR = true或camera.msaa = true也不会报错 只有手动勾选才会报错 附件 : --> 2025-09-16 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 ...
来源: Laya_社区 发布时间: 20250916
...nch_File(url); var fr:* = new window.conch_FileReader(); fr.setIgnoreError(true); fr.onload = function():void { if(fr.result){ window.fs_writeFileSync(cachepath, fr.result); onComplete && onComplete.runWith(cachepath); } else { onError && onError.runWith("no data"); } }; // fr.onprog...
来源: Laya_社区 发布时间: 20190731
... "target": "es6", "noEmitHelpers": false, "sourceMap": true, "removeComments": true, "baseUrl": ".", "paths": { "tslib": [ "D:/Programs/LayaAirIDE/resources/app/node_modules/tslib/tslib.d.ts" ] }, ...
来源: Laya_社区 发布时间: 20200409
... extends Laya.Script { // Text m_debugTip; public canRotation_X: boolean = true; public canRotation_Y: boolean = true; public canScale: boolean = true; /// <summary> /// Around center. /// </summary> //public target: Transform3D; public AroundPos: Vector3 = new Vector3(); /// <summary...
来源: Laya_社区 发布时间: 20170714
...esource.lock Defined in laya/resource/Resource.ts:103 是否加锁,如果true为不能使用自动释放机制。 Optional name name: string Inherited from Resource.name Defined in laya/resource/Resource.ts:105 名称。 url url: string Inherited from Resource.url Defined in laya/resource/Resource...
来源: Laya3.0_api 发布时间: 20231115
... box.hitArea = area; box.mouseEnabled = true; box.on("click", this, onBoxClick); //绘制黑色区域,不被抠图 var black:Sprite = new Sprite(); black.grap...
来源: Laya_社区 发布时间: 20161122
...y:100, scaleX:1, scaleY:1, alpha:1}, 2000, null, 0); this.timeLine.play(0, true); this.timeLine.on(Event.COMPLETE, this, this.onComplete); this.timeLine.on(Event.LABEL, this, this.onLabel); } onComplete() { console.log("timeLine complete!!!!"); } onLabel(label) { console.log("LabelName:" + label); }...
来源: Laya2.0_示例 发布时间: 20260303
...c stopSound Properties Static autoReleaseSound autoReleaseSound: boolean = true Defined in laya/media/SoundManager.ts:90 音效播放后自动删除。 default true Static musicVolume musicVolume: number = 1 Defined in laya/media/SoundManager.ts:25 背景音乐音量。 default 1 Static playbackRate...
来源: Laya3.0_api 发布时间: 20231115