大约有 691 项符合查询结果, 库内数据总量为 30,782 项。 (搜索耗时: 0.0090 秒)
Laya_社区(617) Laya_示例(20) Laya2.0_api(13) laya_api(11) Laya3.0_api(10) Laya3.0_文档(10) Laya2.0_示例(7) Laya2.0_文档(3)
...== 97){ if(this.te == null){ this.te = new Laya.Templet(); this.te.on(Laya.Event.COMPLETE, this, this.teComplete); this.te.loadAni("res/wing_01_side.sk"); } } else if(e.keyCode == 50 || e.keyCode == 98) { if(this.te != null){ this.te.destroy(); this.te = null; this.sk.destroy(); this.sk = null; } } ...
来源: Laya_社区 发布时间: 20190320
...; a.pos(200, 200); a.mouseEnabled = true; a.mouseThrough = true; a.on(Laya.Event.MOUSE_DOWN, null, function (e: Laya.Event): void { console.log("touch a"); } 因为需要将mouseThrough=true才可以,蛋疼的api描叙你能相信是这个熟悉么? “mouseThrough : Boolean = false,指...
来源: Laya_社区 发布时间: 20161109
...mport laya.d3.resource.models.Mesh; import laya.display.Stage; import laya.events.Event; import laya.utils.Handler; import laya.utils.Stat; import common.CameraMoveScript; /** * ... * @author ... */ public class RealTimeShadow { private var _quaternion:Quaternion = new Quaternion(); private var scen...
来源: Laya_示例 发布时间: 20241120
...bin-wrapper\node_modules\got\index.js:182:22) at Object.onceWrapper (events.js:300:26) at ClientRequest.emit (events.js:210:5) at TLSSocket.socketErrorListener (_http_client.js:406:9) at TLSSocket.emit (events.js:210:5) at emitErrorNT (internal/streams/destroy.js:92:8) ...
来源: Laya_社区 发布时间: 20200211
...(this.x + this.width) < this.maxRight){ this.isOutComplete = true; this.event(Floor.OUT_COMPLETE, this); }else if((this.x + this.width) < 0){ //判断整个floor是否不在屏幕里面了 如果不在了 移除当前floor Laya.timer.clear(this, this.onLoop); this.visible = false; this.event(F...
来源: Laya_社区 发布时间: 20160728
...ot;./Scenes/Index.ls"); }); // 侦听加载失败 Laya.loader.on(Laya.Event.ERROR, this, this.onError); }); } 逸辰 • 2023-07-19 22:53 从启动页进来的,也加载了呀 layabox • 2023-07-26 20:47 @逸辰:请提交可重现Demo,
来源: Laya_社区 发布时间: 20230713
...本: /** * 更新。 * @param {string} url zip下载地址 * @param {(event:string,downloadPercent:number,curfile:string)=>boolean} onEvent 事件的回调。 * 事件名称: * 'downloading' 下载中,这时候downloadPercent有值 * 'downloadError' 下载错误 * 'downloadOK' 下载成...
来源: Laya_社区 发布时间: 20180108
...ite3D.load("../../res/threeDimen/skinModel/dude/dude.lh")); dude.once(Laya.Event.HIERARCHY_LOADED, this, function () { var customMaterial1 = new CustomMaterial(); customMaterial1.setDiffuseTexture(Laya.Texture2D.load("../../res/threeDimen/skinModel/dude/Assets/dude/head.png")); customMaterial1.setMa...
来源: Laya_示例 发布时间: 20241120
...ld addChildAt addChildren addComponent addComponentInstance addLabel bubbleEvent callLater clear clearTimer contains customRender destroy destroyChildren drawToCanvas drawToTexture drawToTexture3D event frameLoop frameOnce fromParentPoint getBounds getChildAt getChildByName getChildIndex getComponen...
来源: Laya3.0_api 发布时间: 20231115
...14 10:57:50.024 3526-3928/? D/WifiProJNI: Received kernel message payload: event 0 08-14 10:57:50.025 3526-3928/? I/QosMonitor: postEventFromNative: msg=100,arg1=0,arg2=9 08-14 10:57:50.025 3526-3928/? W/WifiProJNI: poll before: g_monitor_fd =163 08-14 10:57:50.025 3526-3526/? I/MQoS: rtt=440,tcp_tx...
来源: Laya_社区 发布时间: 20180814