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

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

891. laya引擎里是否有生命周期? [ 62%]

...818760256 • 2017-10-20 18:42 是自带的removed事件吗?this.on(Laya.Event.REMOVED,this,onRelease); 这样写对吗js里的。。

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

892. 重力感应 Accelerator 发布微信游戏后失效。是因为什么? [ 62%]

...布微信游戏后失效。是因为什么? Accelerator.instance.on(Laya.Event.CHANGE, this, monitorAccelerator); function monitorAccelerator(acceleration, accelerationIncludingGravity, rotationRate, interval) {         let x = accelerationIncludingGravity.x;         let y = accelerationIn...

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

893. laya.d3.core.SkinnedMeshSprite3D_API3.0 [ 62%]

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

894. laya.d3.core.trail.TrailSprite3D_API3.0 [ 62%]

...ve addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clear clearTimer clone contains destroy destroyChildren event frameLoop frameOnce getChildAt getChildByName getChildIndex getComponent getComponents hasHideFlag hasListener isAncestorOf off offAll offAllCaller...

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

895. 模型与动画的导入使用 · LayaAir3.4 · 引擎文档 · LAYABOX [ 62%]

...= girl.getComponent<Laya.Animator>(Laya.Animator); }); this.on( Laya.Event.MOUSE_DOWN, this, this.switchAni ); } switchAni(): void { if (this._isRun) { //播放对应的动画 this._animator.play("idle"); } else { this._animator.play("run"); } this._isRun = !this._isRun; } } 二、刚体动画...

来源: Laya3.0_文档 发布时间: 20251010

896. gps定位获取当前城市名字 [ 62%]

... 请问如何获取鼠标在某个元素内 相对于这个元素的坐标 Event.MOUSE_WHEEL 如何获取鼠标滚轮是放大开始缩小 如何识别当前环境是微信小游戏环境 tree mouseHandler 怎么获取条目 如何获取图片每个像素点的RGB? 如何获取一个3D模型的长...

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

897. Protobuf decode报错 [ 62%]

...-------不知道怎么把接受的数据decode为message-------- socket.on(Event.MESSAGE,this,this.onMessageReceived); private onMessageReceived(msg:any):void { //received data from server var byte:Byte=new Byte(); byte.writeArrayBuffer(msg); byte.pos=0; byte.endian=Socket.BIG_ENDIAN; //拆包开始...

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

898. 谷歌浏览器 不触发 ROLL_OVER 事件 [ 62%]

...罩点击事件 微信小游戏与加载图片时不会触发erroe事件 event自定义事件的问题 问题状态 最新活动: 2018-04-04 11:17 浏览: 781 关注: 3 人 157*****121 • 2018-04-04 11:45 引擎是最新的,这个是谷歌浏览版本的问题,可能没兼容到低版本,其...

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

899. laya.ui.Tree_API3.0 [ 62%]

...ve addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTimer contains customRender destroy destroyChildren drawToCanvas drawToTexture drawToTexture3D event filter frameLoop frameOnce fresh freshLayout fromParentPoint getBounds getChildAt getChildByName getChi...

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

900. laya.d3.core.SimpleSkinnedMeshSprite3D_API3.0 [ 62%]

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