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

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

561. addToTransparentRenderQueue 中 'add' of undefined [ 58%]

...ya2.1.0 JS调用Java PlatformClass undefined api readFile success callback function undefined Cannot read property 'call' of undefined 生成微信小游戏时各种"undefined"(已解决) 运行编译 报错Cannot read property 'on' of undefined Cannot read property 'call' of undefined 问题状态 ...

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

562. [求助]无法使用loader预先加载 [ 58%]

...lse), Loader.TEXT); Laya.loader.on(Event.ERROR, this, onError);   private function onAssetLoaded(texture:Texture):void{             //console.log("111: ");                          txt.visible=false;             title = new Sprite();         ...

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

563. 场景调用offAll会报错。 [ 58%]

...错: Uncaught TypeError: Cannot read property 'parent' of null     at Function.Scene._sortScenes (file:///E:/laya3dProject/BY3D/bin/h5/BY3D.max.js:68570:8) 附件 : --> 2018-09-13 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 ...

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

564. 小白求助,关于时间轴动画如何设置播放一次后消失? [ 58%]

....loader.load("res/atlas/comp.atlas", Laya.Handler.create(this, onLoaded)); function onLoaded() { var tl = new Laya.Animation(); tl.loadAnimation("democesi.ani"); Laya.stage.addChild(tl); tl.play(); tl.pos(302,650); } 2018-01-17 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关...

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

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

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

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

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

567. 建立项目就报错 是什么原因 [ 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

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

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

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