大约有 1,240 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0063 秒)
Laya_社区(920) Laya3.0_api(80) Laya2.0_文档(78) Laya_示例(64) Laya2.0_示例(51) Laya3.0_文档(43) laya_api(2) Laya2.0_api(2)
...th addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTimer contains customRender destroy destroyChildren drawToCanvas drawToTexture drawToTexture3D event frameLoop frameOnce freshLayout fromParentPoint getBounds getChildAt getChildByName getChildIndex getCo...
来源: Laya3.0_api 发布时间: 20231115
..., 20, -30), false); camera.addComponent(CameraMoveScript); scene.once(Laya.Event.HIERARCHY_LOADED, this, function () { setCustomMaterial(scene.getChildAt(2)); }); function setCustomMaterial(spirit3D) { if (spirit3D instanceof Laya.MeshSprite3D) { var meshSprite3D = spirit3D; var customMaterial = new...
来源: Laya_示例 发布时间: 20251219
...宽高是多少,Laya.stage.scaleMode使用哪种模式,Laya.stage.on(Event.RESIZE, this, onResize);如何处理比例问题? 2018-03-13 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 Monica - 知识达人 ...
来源: Laya_社区 发布时间: 20180313
... { GameStart.super(this); Laya.stage.on(Laya.Event.KEY_DOWN,LayaSample,Test); } function Test(e){ console.log(e.keycode); } 按下按键后一直输出undefined,在入口类里面却能输出对应按键编号,是...
来源: Laya_社区 发布时间: 20180208
...。 每当stage的大小进行变化时,会触发事件。 Laya.stage.on(Event.RESIZE, this, function():void { // To Do - UI.pos }); 2017-06-15 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 sfsmmc 相关问题 Layabox 2.0 bate5 运...
来源: Laya_社区 发布时间: 20170613
...的部分代码: onAwake(): void { Laya.stage.on(Laya.Event.MOUSE_DOWN, () => { Laya.loader.load("resources/916.mp4").then(() => { this.play(); }); }) }同时建议您将“项目设置->缩放...
来源: Laya_社区 发布时间: 20231007
... img.loadImage('images/item_5.png'); Laya.stage.addChild(img); img.on(Laya.Event.MOUSE_DOWN, img, onStartDrag); function onStartDrag(){ console.log(this); clickIndex++; msgDiv.html('图片选中了' + clickIndex + '次'); // img.startDrag(); } // Laya.stage.alignH = Laya.Stage.ALIGN_CENTER; // Laya....
来源: Laya_社区 发布时间: 20170427
...th addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater changeText clearTimer contains customRender destroy destroyChildren drawToCanvas drawToTexture drawToTexture3D event frameLoop frameOnce fromParentPoint getBounds getChildAt getChildByName getChildIndex getCom...
来源: Laya3.0_api 发布时间: 20231115
...eleton = templet.buildArmature(1); skeleton.pos(400,600); skeleton.on(Laya.Event.MOUSE_DOWN, this, dragFunc); Laya.stage.addChild(skeleton); skeleton.play(0,true); rectangle = skeleton.getBounds(); var hitArea = new Laya.HitArea(); var graphic = new Laya.Graphics(); graphic.drawRect(-rectangle.x, -r...
来源: Laya_社区 发布时间: 20171114
...ev-loca ... 913:61) 02-06 14:59:43.858 6545 6658 I LayaBox : at EventHandler.__proto.runWith (http://10.0.1.72/game/dev-loca ... 711:59) 02-06 14:59:43.858 6545 6658 I LayaBox : at ResInfo.__proto.event (http://10.0.1.72/game/dev-loca ... 483:28) 02-06 14:59:43.858 6545 665...
来源: Laya_社区 发布时间: 20180206