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

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

601. textArea滚动条异常问题 [ 62%]

...用ide设置的 txtInput.wordWrap = true;//使用ide设置的 txtInput.on(Event.INPUT, this, onInputChange); private function reset(e:Event = null):void { clickStar = 0; txtInput.text = ""; txtLast.text = "剩余输入:" + WelfareNoticeMgr.MAX_WARD + "字"; } private ...

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

602. 骨骼Label事件,多接收一次 [ 62%]

骨骼Label事件,多接收一次 看了骨骼里的事件数据eventAniArr只有一次,但我函数却收到了2次回调 附件 : --> 2018-03-15 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 qian 赞同来...

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

603. image在相应loaded的时候,无法正确获取高度 [ 62%]

....engine.world, this.matterBody); this.matterBody.layaSprite = this; Matter.Events.on(GameMain.instance.engine, 'beforeUpdate', (()=> { console.log("update", this.x, this.y, this.width, this.height) }).bind(this)); } 第一个打印,this.height是没有形变时候的参数,只有执行了一...

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

604. Laya.Animator没有动画播放完事件 [ 62%]

...Animator; //监听默认动画完成后播放站立动画 this.ani.on(Laya.Event.COMPLETE,this,this.onAniComplete);但 Laya.Animator跟本没有继承EventDispatcher, 根本没有on函数啊, 我看了laya.d3.js,  播放完什么都没做,只调用了script.onStateExit if ((!islooping && ...

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

605. sprite 添加点击事件没反应,对sprite设置了size也没用 [ 62%]

... ; Laya.stage.addChild(this.btn) ; this.btn.size(25,25) ; this.btn.on(Laya.Event.CLICK, this, music.music_voice_toggle); 代码是这样的 , 图片上传不了,代码直接贴上来 2017-08-03 0 0 分享 微博 QZONE 微信 cuixueying 赞同来自: 最好上传个能重现问题的Demo,只看...

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

606. 调试按钮,IDE报错 [ 62%]

...-debug-core\out\src\chrome\chromeDebugAdapter.js:156:59)     at emitOne (events.js:90:13)     at Client.emit (events.js:182:7)     at Client.processMessage (c:\Program Files (x86)\laya\resources\app\extensions\laya-debug\node_modules\noice-json-rpc\lib\noice-json-rpc.js:64:18)     at Logging...

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

607. 射线检测-点击行走 [ 62%]

..., 0); var _vector3 = new Laya.Vector3(); //鼠标事件 Laya.stage.on(Laya.Event.MOUSE_UP, this, function () { if (_outHitInfo.distance !== -1) { Laya.Vector3.add(_outHitInfo.position, _offset, _vector3); Laya.Tween.to(_position, {x: _vector3.x, y: _vector3.y, z: _vector3.z}, 500/**,Ease.circIn*/); ...

来源: Laya_示例 发布时间: 20260303

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

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

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

609. LayaAir能做RPG吗?不要问我能不能,因为我已经在做 - 杀意来袭 [ 62%]

...; a.pos(200, 200); a.mouseEnabled = true; a.mouseThrough = true; a.on(Laya.Event.MOUSE_DOWN, null, function (e: Laya.Event): void {     console.log("touch a"); } 因为需要将mouseThrough=true才可以,蛋疼的api描叙你能相信是这个熟悉么? “mouseThrough : Boolean = false,指...

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

610. MovieClip的target和currentTarget属性为undefined? [ 62%]

...){ var mc:MovieClip = new MovieClip; mc.load(ul); this.addChild(mc); mc.on(Event.COMPLETE,this,stopNowMC) } } private function stopNowMC(e:Event):void{ trace(e.currentTarget); trace(e.target); MovieClip(e.currentTarget).gotoAndStop(MovieClip(e.target).count-1); } AS3代码是这样的,但是COMPLE...

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