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

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

591. laya.ui.Button_API3.0 [ 52%]

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

592. 不存在的资源路径问题 [ 52%]

...问题是因为没有资源也调用了加载完成, Laya.loader.on(Laya.Event.ERROR, this, this.onLibError); Laya.loader.load([{ url:com.globals.GameConfig.XML_LIB_URL, type:Loader.BUFFER }], Handler.create(this, this.onLibLoaded)); 资源是不存在的,然后还是调用了 this.onLibLoaded ...

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

593. 背景音乐音效问题 [ 52%]

...问题 横屏模式在锁定竖屏的iphone上不能正常显示的问题 event自定义事件的问题 问题状态 最新活动: 2017-09-26 11:42 浏览: 1431 关注: 2 人 Zzz18815519 • 2017-09-26 13:04 我用的是1.7.10,算比较新的,我也奇怪,2345加速浏览器预先加载了,...

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

594. IDE中自定义组件后,组件XML设置prop,在代码中如何获取(js) [ 51%]

... 请问如何获取鼠标在某个元素内 相对于这个元素的坐标 Event.MOUSE_WHEEL 如何获取鼠标滚轮是放大开始缩小 怎么获取对象的坐标 问题状态 最新活动: 2018-04-24 11:07 浏览: 1144 关注: 2 人

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

595. 关闭指定定时器timer [ 51%]

...器还在继续调用回调,并没有报错。this.StartToRound.on(Laya.Event.CLICK,null,function(){ Laya.timer.loop(10,this,round);//10ms 一秒100次 }); //转动逻辑 function round(){ tlate.rotation+=roundTurnChange(1); console.log(tlate.rotation); } //转动变量变化 function roundTurnCha...

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

596. 修复开放数据域组件WXOpenDataViewer鼠标不能拖动的问题 [ 50%]

...到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 S_eVent 赞同来自: 非常感谢楼主,解决了困惑我好久的一个问题 2019-08-26 0 0 分享 微博 QZONE 微信 1560220316用户 赞同来自: 在主域哪个位置加这些代码?有没有javascript的代码参考...

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

597. session获取不到 [ 50%]

...ow---cant find variable: window stack tree mouseHandler 怎么获取条目 Event.MOUSE_WHEEL 如何获取鼠标滚轮是放大开始缩小 问题状态 最新活动: 2017-03-21 14:34 浏览: 1646 关注: 3 人 vincent • 2017-03-17 16:14 恩恩,有答案了告诉我下,急,因为要检验这...

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

598. image.drawToCanvas方法获取的一直是空的png [ 50%]

...ya.stage.addChild(img); Laya.timer.once(500,this,onClick); //Laya.stage.on(Event.CLICK,this,onClick); } private function onClick():void { var htmlCanvas:HTMLCanvas=img.drawToCanvas(100,100,0,0) as HTMLCanvas; var texture:Texture=new Texture(htmlCanvas); var sp:Sprite=new Sprite(); sp.graphics.drawTe...

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

599. [LayaAir3]LayaAir3.0UnityPlugin 导出出错 [ 50%]

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

600. [LayaAir3]list.selectHandler [ 50%]

...e.log(this.btn.selected); }break; shiyang • 2024-10-28 09:48 可以判断event.type == click执行你的逻辑 学思无涯 • 2024-10-28 10:43 @shiyang:赞赞赞

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