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

大约有 421 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0045 秒)

201. 求教Event.KEY_DOWN和Event.MOUSE_DOWN调用window.open相关问题 [ 72%]

求教Event.KEY_DOWN和Event.MOUSE_DOWN调用window.open相关问题 点击的调用函数: private function OnDown(e:Event):void { Browser.window.open("http://baidu.com"); } Laya.stage.on(Event.KEY_DOWN, this, OnDown);//正常 Laya.stage.on(Event.MOUSE_DOWN, this, OnDown);//被拦截 La...

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

202. HttpRequest感觉没有发成功 [ 72%]

...a.HttpRequest(); xhr.http.timeout = 10000;//设置超时时间; xhr.once(Event.COMPLETE,this,completeHandler); xhr.once(Event.ERROR,this,errorHandler); xhr.on(Event.PROGRESS,this,processHandler); xhr.send("https://www.baidu.com","","get","text"); function processHandler(data){ console.log(data); c...

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

203. event自定义事件的问题 [ 72%]

event自定义事件的问题 rt,自定义事件派发有什么条件吗?比如我在A类派发一个自定义事件,在B类添加侦听器监听事件,但是我在EventDispatcher类加了一个trace,事件没有派发成功,下面是testDemo LayaSample类: package { import laya.displ...

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

204. ui list 里面的元素不能点击两次 [ 72%]

... list.mouseHandler=new Handler(this,onMouse); private function onMouse(e:Event,index:Number):void { // TODO Auto Generated method stub if(e.type==Event.CLICK) { trace("click"); } } 2016-12-02 3 2 分享 微博 QZONE 微信 sunkehappy 赞同来自: @cuixueying 感谢提供方案,不过我还是想...

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

205. 关于LayaBox启动的问题。 [ 72%]

...mLock = java.lang.Object@371aea59, mLastTimeSender = 0} D/IC5 ( 4543): readEventLogs : User_activity-->1489977325537753559 :com.yunos.tv.homeshell D/IC5 ( 4543): readEventLogs : am_on_paused_called--> packnameString = 1489977325752612684 :com.yunos.tv.homeshell D/IC5 ( 4543): readEventLogs : a...

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

206. 关于微信小游戏下的MOUSE_UP事件touches问题 [ 72%]

...小游戏后,在微信开发者工具中,当MOUSE_UP事件触发时,Event.touches个数正确,为0   当使用手机预览时,MOUSE_UP事件触发时,Event.touches个数多了1(即抬起的手指还被包含在内了) 这个问题有哪位大大遇到过么?微信小游戏环境...

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

207. Laya.HttpRequest 没有调用回调方法? [ 72%]

...a.HttpRequest(); xhr.http.timeout = 10000;//设置超时时间; xhr.once(Event.COMPLETE,this,completeHandler); xhr.once(Event.ERROR,this,errorHandler); xhr.on(Event.PROGRESS,this,processHandler); xhr.send("https://www.baidu.com/","","get","text"); function processHandler(data){ console.log(data); ...

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

208. IOS真机下监听MOUSE_MOVE事件会报错 [ 72%]

...his.width / 2; test.y = this.height / 2; this.addChild(test); test.on(Laya.Event.MOUSE_MOVE, this, (e) => { console.log(e); }); 监听mouse_move事件后,手指在test上滑动,会报错:   附件 : --> 2017-08-06 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结...

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

209. 骨骼Label事件,多接收一次 [ 72%]

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

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

210. [LayaAir3]LayaAir3.0UnityPlugin 导出出错 [ 72%]

...Verify that all layout Begin/End calls match UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)  MissingReferenceException: The object of type 'SkinnedMeshRenderer' has been destroyed but you are still trying to access it. Your script should either check if it is null or you should not dest...

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