大约有 2,654 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0067 秒)
Laya_社区(2024) Laya3.0_api(163) laya_api(112) Laya2.0_api(107) Laya2.0_文档(82) Laya_示例(68) Laya2.0_示例(51) Laya3.0_文档(47)
...rag:boolean) { this.m_CanDrag = canDrag; if(this.m_CanDrag) { this.on(Laya.Event.MOUSE_DOWN, this, this.onMouseDown); } else { this.off(Laya.Event.MOUSE_DOWN, this, this.onMouseDown); } } onMouseDown(e: Laya.Event) { // console.log(e.currentTarget, e.target); if(e.target == this) { this.startDrag(...
来源: Laya_社区 发布时间: 20191121
...ber=500; var h:Number=400; Laya.init(w,h); 2/请为你的舞台监听Event.RESIZE事件,再Event.Resize下通过Browser.window.width和Browrowser.window.height获取屏幕宽高,将获取之后的宽高赋值给w和h即可! 2017-02-09 0 4 分享 微博 QZONE 微信 ohkei - as3、as2、h5...
来源: Laya_社区 发布时间: 20170209
...nMouseOut():void {} /** * 键盘按下时执行 */ public onKeyDown(e:Laya.Event):void {} /** * 键盘产生一个字符时执行 */ public onKeyPress(e:Laya.Event):void {} /** * 键盘抬起时执行 */ public onKeyUp(e:Laya.Event):void {} /** * 每帧更新时执行 */ public onUpdate():void {} /*...
来源: Laya2.0_文档 发布时间: 20210715
...方法为虚方法,使用时重写覆盖即可 Script3D onKeyDown(e:Event):void 键盘按下时执行 此方法为虚方法,使用时重写覆盖即可 Script3D onKeyPress(e:Event):void 键盘产生一个字符时执行 此方法为虚方法,使用时重写覆盖即可 Script3D onKeyU...
来源: Laya2.0_api 发布时间: 20190513
...; if (!data){ this.event(/*laya.events.Event.ERROR*/"error","file not find"); return; } // console.log("this['_atlasPath']---->",this['_atlasPath']); ...
来源: Laya_社区 发布时间: 20180615
...不应该会有这个问题才是的 比如说这个代码: this.hr.once(Event.COMPLETE, this, onHrCompleteHandler); this.hr.once(Event.ERROR , this ,onHrErrorHandler); this.hr.send($url, $data, $method, $responseType, $headers); private function onHrCompleteHandler():void { if(this.completeHandle...
来源: Laya_社区 发布时间: 20180528
...core.js:12339) at Loader.Laya3D._onHierarchylhLoaded (laya.d3.js:16030) at EventHandler.__proto.runWith (laya.core.js:687) at Loader.__proto.event (laya.core.js:465) at Loader.__proto.complete (laya.core.js:12141) at Loader.__proto.onLoaded (laya.core.js:12130) at EventHandler.__proto.runWith (laya....
来源: Laya_社区 发布时间: 20170927
...ve addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTimer clone contains destroy destroyChildren event frameLoop frameOnce getChildAt getChildByName getChildIndex getComponent getComponents hasHideFlag hasListener isAncestorOf off offAll offAllCaller on on...
来源: Laya3.0_api 发布时间: 20231115
...res/threeDimen/skinModel/LayaMonkey/LayaMonkey.lh")); layaMonkey.once(Laya.Event.HIERARCHY_LOADED, this, function () { var aniSprite3d = layaMonkey.getChildAt(0); var animator = aniSprite3d.getComponentByType(Laya.Animator); animator.play(null, 1.0, 75, 110); }); var _position = new Laya.Vector3(); ...
来源: Laya_示例 发布时间: 20251209
...[]; } this.event(/*laya.events.Event.PROGRESS*/"progress",0.3+1 / toloadPics.length *0.6); return this._loadImage(toloadPics.pop()); 2019-02-02 添加评论 免费帖 --> 分享 微博 QZONE 微信 没...
来源: Laya_社区 发布时间: 20190202