• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 1,246 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0081 秒)

931. laya.d3.core.Camera_API3.0 [ 60%]

...Children addCommandBuffer addComponent addComponentInstance addLayer bubbleEvent callLater clearTimer clone contains convertScreenCoordToOrthographicCoord destroy destroyChildren event frameLoop frameOnce getChildAt getChildByName getChildIndex getComponent getComponents hasHideFlag hasListener isAn...

来源: Laya3.0_api 发布时间: 20231115

932. 有没有懂tiledmap地图的朋友帮忙看看问什么地图加载不出来 [ 60%]

...ckage { import laya.display.Sprite; import laya.display.Stage; import laya.events.Event; import laya.map.GridSprite; import laya.map.MapLayer; import laya.map.TileAniSprite; import laya.map.TileTexSet; import laya.map.TiledMap; import laya.maths.Rectangle; import laya.net.Loader; import laya.utils.H...

来源: Laya_社区 发布时间: 20170105

933. 背景音乐来回切换报错 [ 60%]

...mainSound:Laya.SoundChannel = null;         this.btn_sound.on(Laya.Event.CLICK,this,function(){             dreamsSound = null;             if(mainSound == null){                 Laya.loader.load("res/main.mp3",Laya.Handler.create(this,function(){   ...

来源: Laya_社区 发布时间: 20190716

934. 多个tween会影响其它精灵事件 [ 60%]

...st滑动条会引起单元格上的按钮点击后多次触发点击事件 event自定义事件的问题 【BUG备忘录】关于Tween动画无法正常作用问题-解决办法 一个时间轴动画里创建的多个动画,怎么分别调用?如图 点击事件不起效 问题状态 最新活...

来源: Laya_社区 发布时间: 20180510

935. laya.ui.HSlider_API3.0 [ 60%]

...in 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

936. laya.ui.VSlider_API3.0 [ 60%]

...in 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

937. 关于说明文档实战篇《微信飞机大战》的问题 [ 60%]

... mrtian • 2018-10-09 18:40 谢谢回复,不过“this.roleAni.on(Laya.Event.COMPLETE,this,this.onCompleteAni);”这个代码不应该是监听动画播放完成的吗 mrtian • 2018-10-09 18:55 工程代码我更新了,mp3音频文件加载失败的问题,不知道是为什么,之前加...

来源: Laya_社区 发布时间: 20181009

938. laya.ui里的tag不能赋值使用? [ 60%]

...ag值不能赋值sh使用吗?     masterbtn.tag = 0; masterbtn.on(Laya.Event.MOUSE_UP,this,this.onItemMaster); _proto.onItemMaster = function(params){ var btn = params.currentTarget; console.log("----------------------- ",btn.tag);//我赋值是0,但这里调用获取是2?? } 2017-11-20 ...

来源: Laya_社区 发布时间: 20171120

939. 使用百度地图显示当前位置(ActionScript-LayaAir基础篇(AS3)-硬件设备相关) [ 60%]

...endChild(mapDiv);       // 适应窗口尺寸 refit(); Laya.stage.on(Event.RESIZE, this, refit);   // 初始化地图 map = new BMap.Map(mapDiv);   // 禁用部分交互 //map.disableDragging(); map.disableKeyboard(); map.disableScrollWheelZoom(); map.disableDoubleClickZoom(); map.dis...

来源: Laya2.0_文档 发布时间: 20210715

940. HttpRequest如何发送JSON数据 [ 60%]

... var logReq = new laya.net.HttpRequest();         logReq.once(Laya.Event.COMPLETE,this,this.onComplete);         logReq.send("http://127.0.0.1:3001/login", "username: 'lxd', password: 'lxd'",         'post', "json", null); 服务端无法获取数据 2017-09-06 4 条评论 免...

来源: Laya_社区 发布时间: 20170906