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

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

81. 如何使用h5打开本地文件的浏览窗口? [ 59%]

...cument.createElement("input")');('file.type = "file"'); ('document.body.appendChild(file)'); ('file.style.zIndex = 999999'); ('file.style.position = "absolute"'); ('file.style.top = 20'); ('document.body.appendChild(file);') [IF-SCRIPT-END]*/ 2016-02-16 0 0 分享 微博 QZONE 微信 为什么被折...

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

82. 关于LayaAir的List组件,几个问题 [ 59%]

关于LayaAir的List组件,几个问题 1.之前提过的拖到两头,END事件延迟的问题还没回复我。。 2.在滚动时再点一下可以停止滚动,但这个时候会选中我当前点的那个位置的元素。。。这个很不符合操作习惯,一般情况下只是想让它...

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

83. 如何往TiledMap格子内追加精灵 [ 59%]

...or(var sCnt = 0; sCnt < 20; sCnt++){ createSprite(sCnt) } //Create Bear End } function createSprite(no){ var flower = new Sprite(); flower.loadImage(texture1); flower.pos((0 + no) * 99.5, 73); flower.mouseEnabled=true; flower.alpha=1; flower.on(Event.CLICK,this,function() { flower.scaleX=1.1; flo...

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

84. 请问宏编译[IF-FLASH-BEGIN]是否还有效? [ 58%]

...-BEGIN]是否还有效? 为何使用了/*[IF-FLASH-BEGIN]*/ 和/*[IF-FLASH-END]*/ ,两者之间的代码在LayaIDE还是会提示有错误 2017-02-23 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_XS 赞同...

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

85. List滚动到底部事件 [ 58%]

... 微博 QZONE 微信 jacksing888 赞同来自:     list.scrollBar.on('end',list,scrollBarHandler)   function scrollBarHandler(){         if(this.scrollBar.value == this.scrollBar.max){                 var that = this;                 setTimeout(function(){             ...

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

86. [LayaAir3]LayaAir3.0.11 动画问题 [ 58%]

... 赞同来自: 您好,此问题已复现并定位到,应该是切换Hx2End事件派发后,切换状态之后playedTime重置计算问题,这个问题已经进行排期处理了,您可以关注下后续的日志更新。 2024-01-10 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回...

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

87. Laya 2.0 微信白名单 nativefiles 配置 [ 58%]

...("libs/laya.physics.js") [b]loadLib("libs/laya.wxmini.js") [/b]//-----libs-end------- loadLib("js/bundle.js");       if (Laya.Browser.onMiniGame) { Laya.URL.basePath = "https://*************/"; Laya.MiniAdpter.nativefiles = [ "res/ui/ui.atlas", "res/ui/png.png", "prefab", 'scene', ]; }       2...

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

88. 3D场景跳转到2D场景问题 [ 58%]

... 上面的代码: onCollisionEnter(other){ if(other.other.owner.name==="end"){ // this.owner.parent.removeSelf(); //删除自身场景 console.log(this.owner.parent) console.log(this.owner.parent.parent); //创建胜利的UI界面 let victoryScene=new VictoryScene(); Laya.stage.addChild(victorySce...

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

89. Laya.Geolocation使用报错 [ 58%]

...s") loadLib("libs/laya.ui.js") loadLib("libs/laya.physics.js") //-----libs-end------- loadLib("js/bundle.js"); 不知是否正确?该怎么用?谢谢! 2018-12-17 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回...

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

90. Unity导出插件Shader报错。 [ 57%]

... defines: UNITY_ENABLE_REFLECTION_BUFFERS UNITY_USE_DITHER_MASK_FOR_ALPHABLENDED_SHADOWS UNITY_PBS_USE_BRDF1 UNITY_SPECCUBE_BOX_PROJECTION UNITY_SPECCUBE_BLENDING UNITY_ENABLE_DETAIL_NORMALMAP SHADER_API_DESKTOP UNITY_COLORSPACE_GAMMA UNITY_LIGHT_PROBE_PROXY_VOLUME使用的Unity版本是Unity2017.1....

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