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

大约有 2,654 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0070 秒)

651. laya 的list组件,如果有多页信息,怎么实现翻页丫?? [ 75%]

... (index > 5) index = 5; this.setCurPage(index) } public onMouse(e: Laya.Event, index: number): void { if (e.type == Laya.Event.MOUSE_DOWN) { this.m_downValue = this.list_rule.scrollBar.value; } else if (e.type == Laya.Event.MOUSE_UP || e.type == Laya.Event.MOUSE_OUT) { if (this.m_downValue > -...

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

652. 微信飞机大战报错 [ 75%]

...\node_modules\vscode-debugadapter\lib\protocol.js:24:60)     at emitOne (events.js:96:13)     at Socket.emit (events.js:188:7)     at readableAddChunk (_stream_readable.js:[...]   GameInfo.js代码: var GameInfo = (function(_super){     function GameInfo(){         GameInfo.super(this);...

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

653. IOS微信内置浏览器陀螺仪问题 Laya2.4.0bate [ 75%]

...回调 已经测试过的方式: 以下三种方式都无返回 window.addEventListener('devicemotion', function(event){}) window.addEventListener('deviceorientation', function(event)  {}) Laya.Gyroscope.instance.on(Laya.Event.CHANGE, this, this.onDeviceorientation);  连接打开方式都由...

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

654. tiledMap 官方示例都运行不了 [ 75%]

...istrator/Documents/myLaya/Hello/bin/libs/laya.tiledmap.js:244:19)     at EventHandler.__proto.runWith (file:///C:/Users/Administrator/Documents/myLaya/Hello/bin/libs/laya.core.js:1125:59)     at Loader.__proto.event (file:///C:/Users/Administrator/Documents/myLaya/Hello/bin/libs/laya.core.js:882...

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

655. laya.d3.webxr.core.WebXRCamera_API3.0 [ 75%]

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

656. 引擎加载动画过程中断网,动画还会继续加载吗? [ 75%]

...过程中断网,动画还会继续加载吗? 引擎加载动画完成的 event.complet 事件,在加载动画过程中断网,然后重连网络后,该事件一直没有被触发?请问有什么解决方案吗? 2018-03-31 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 ...

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

657. 怎么打开第二个工程 [ 75%]

..._Aaron 赞同来自: package { import laya.device.media.Video; import laya.events.Event; import laya.utils.Browser; public class Main { public function Main() { Laya.init(500,500); Laya.stage.once(Event.CLICK,this,this.clickHandler); } private function clickHandler():void { var iframe:Object = Brows...

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

658. 发现bug,update大问题!!!!!!!!! 2.13版本 [ 75%]

...iew.m_jump.onClick(this, this.onJump)         this.view.m_left.on(Laya.Event.MOUSE_DOWN,this, this.onleft)         this.view.m_left.on(Laya.Event.MOUSE_UP,this, this.notleft)         this.view.m_right.on(Laya.Event.MOUSE_DOWN,this, this.onright)         this.view.m_right.on(Laya.Even...

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

659. 绘制图形的BUG [ 75%]

...ight; } } } BUG2:package ui.test { import laya.display.Sprite; import laya.events.Event; public class MyBox1 extends Sprite { private var _sprite:Sprite; public function MyBox1() { super(); _sprite=new Sprite(); //这里明明传入了尺寸,为什么graphics没有宽高信息 _sprite.graphics.dra...

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

660. 怎么对graphics画出来的图片进行鼠标点击拖动??? [ 75%]

...dule laya { import Sprite = Laya.Sprite; import Stage = Laya.Stage; import Event = Laya.Event; import Rectangle = Laya.Rectangle; import Texture = Laya.Texture; import Browser = Laya.Browser; import Handler = Laya.Handler; import WebGL = Laya.WebGL; export class Interaction_Drag { private ApePath: s...

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