大约有 1,246 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0105 秒)
Laya_社区(924) Laya3.0_api(80) Laya2.0_文档(78) Laya_示例(64) Laya2.0_示例(51) Laya3.0_文档(45) laya_api(2) Laya2.0_api(2)
...。 每当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
... Laya.stage.addChild(Laya.Scene.load("res/layaScene.ls")); scene.once(Laya.Event.HIERARCHY_LOADED, this, function (sceneTemp) { var camera = sceneTemp.getChildByName("Main Camera"); camera.transform.translate(new Laya.Vector3(0, 0, 200)); //移动camera });2.问题2:加载完看官方的demo要加...
来源: Laya_社区 发布时间: 20170828
...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
...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
...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