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

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

561. laya.d3.core.render.command.Command_API3.0 [ 58%]

... Command constructor recover run setContext Legend Object literal Variable Function Type alias Class Class with type parameter Constructor Method Enumeration Interface

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

562. fps / framerate设置并不可用, 会报错 [ 58%]

...e的宽高和点击区域? 导微信小程序报错window.focus is not a function 官网示例摇一摇报错,就解决方案 3d项目-unity添加物理组件 layanative2 打包android平台 报错 btCollisionObject undefined 将list里的scrollBar设置mouseWheelEnable=false后过一段时间...

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

563. 建立项目就报错 是什么原因 [ 58%]

...机上就连接不上socket 导微信小程序报错window.focus is not a function 用了ByteArray的zlib.min.js后报错 runtime运行报错! 启动引擎报错 mPlugin.game_plugin_init(3); 3d项目-unity添加物理组件 layanative2 打包android平台 报错 btCollisionObject undefined 问题...

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

564. native2.0压缩纹理如何使用 [ 58%]

...iaoman122 赞同来自: Laya.loader.load("res/1.pkm", Handler.create(null, function():void {     var spr:Sprite = new Sprite();     spr.loadImage("res/1.pkm");     spr.pos(100, 100);     Laya.stage.addChild(spr); }), null, Loader.IMAGE); 附件就是tp转的图片,这个是加载的代码 ...

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

565. touches一直为undefined [ 58%]

...tage.on(Laya.Event.MOUSE_DOWN, this, onCtrlMoveRockerTouchDown); ......   function onCtrlMoveRockerTouchDown(e) {     console.log("onCtrlMoveRockerTouchDown()");     var touches = e.touches;     if(touches) {     ...取出前两个touch进行计算     } }   请问为什么我的touches...

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

566. 2.0.2使用worker加载图片的问题 [ 58%]

...er.postMessage(url);`,然后 在worker.js中执行了这句话`onmessage=function(t){var e=t.data;switch(e.type){case"load":loadImage2(e)}};`,e=t.data,也就是上面postMessage中的url,是一个字符串,那么e.type是undefined,根本不会执行到loadImage2(e)。 附件 : --> Demo.r...

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

567. Laya.loader.getRes的声音资源如何用Laya.SoundManager播放? [ 58%]

....loader.load("res/audio/TheSacredWar.ogg", Laya.Handler.create(Laya.stage, function () { console.log('音乐加载完成>>>-----------------|>'); soundData = Laya.loader.getRes("res/audio/somesound.ogg"); }), null, Laya.loader.SOUND);请教一下Laya.SoundManager如何播放上面得到...

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

568. Matrix4x4的decompose函数用法 [ 58%]

...罩的用法,在哪块可以找到? 执行回调函数时报is not a function 关于customRender函数不执行的问题 const 用法 问题状态 最新活动: 2017-02-27 13:17 浏览: 1527 关注: 2 人

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

569. layabox加载fairygui发布的二进制文件报错 [ 58%]

...eate(this, this.onLoaded));   Laya.core.js   调试log __proto._endLoad=function(resInfo,content){ var url=resInfo.url; //输出//////////////////////////////// console.log("url:"+url); content==null?console.log("content null"):console.log("content not null"); //输出////////////////////////////...

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

570. 屏蔽手机浏览器滑动 无效 [ 58%]

...交 1 个回复 Apple 赞同来自: document.addEventListener('touchmove', function (e) { e.preventDefault(); }, false); 2018-04-10 0 4 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 yplpf 相关问题 Dialog:屏蔽点击Dialog之外的区...

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