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

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

381. 官方提供的关系链代码执行报错,是不是wx的sharedCanvas不是Laya的canvas导致的问题 [ 77%]

...49 这是官方提供的代码 微信主域代码: Laya.timer.once(400,this,function():void{ var rankTexture:Texture = new Texture(Browser.window.sharedCanvas); rankTexture.bitmap.alwaysChange = true;//小游戏使用,非常费,每帧刷新 rankSprite2.graphics.drawTexture(rankTexture,5,78,ran...

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

382. LayaAirIDE构建的iOS包加入网易七鱼后崩溃,报错信息curl_easy_perform failed, code=35 [ 77%]

...带附件】 使用Laya2.0.0beta5.1 发布官方示例 真机报错 window is not defined laya2.0加载3d场景报错Uncaught TypeError: Cannot read property 'btCollisionObject' of undefined 3d项目-unity添加物理组件 layanative2 打包android平台 报错 btCollisionObject undefined 用了Byt...

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

383. 子弹添加了colliderShape后onUpdate移动,destroy会报错“Cannot read property 'getWorldTransform' of null” [ 77%]

...y 'getWorldTransform' of null” 发射时生成子弹: onFire() { if (this.isFire) { Laya.Mesh.load("fly2/fly3-bullet.lm", Laya.Handler.create(this, function (m) { let bullet = new Laya.MeshSprite3D(m); this.Sn.addChild(bullet); bullet.addComponent(BulletScript); var bulletCollider = bullet.addCo...

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

384. 播放音效时报错Failed to set the 'buffer' property on 'AudioBufferSourceNode'的问题 [ 77%]

...o set the 'buffer' property on 'AudioBufferSourceNode': The provided value is not of type 'AudioBuffer'.",我把这段代码注释掉之后就没有了,希望有大佬能够解答一下,哈哈 2018-09-14 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: ...

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

385. laya as发布玩一玩到Xcode工程,编译报错 [ 77%]

...然后编译报错 level=1, code=-1, info1=Execute JS Error![TypeError: this.ctx.transform is not a function. (In 'this.ctx.transform(a,b,c,d,tx,ty)', 'this.ctx.transform' is an instance of RectTransform)]: line = 6253, column = 21, sourceURL = /var/containers/Bundle/Application/2DE21169-C5AF-439A-9...

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

386. 与echarts显示的问题,HTMLDivElement [ 77%]

...且设置了var为mydiv,然后在代码中 var myChart = echarts.init(this.mydiv);进行echarts的初始化时,报: [ts] Argument of type 'HTMLDivElement' is not assignable to parameter of type 'HTMLDivElement | HTMLCanvasElement'. Type 'HTMLDivElement' is not assignable to type 'HTMLCanvasEle...

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

387. 微信开发者工具,打开Laya发布的包。编译报请先初始化小游戏适配库,详细教程 [ 77%]

...命名1112.png Wechat Lib:1.9.98, 2018.4.4 17:39:27 code.js:107 Warning!,this class[MiniAdpter] already exist: {init: ƒ} VM163:1 请先初始化小游戏适配库,详细教程https://ldc.layabox.com/doc/?nav=zh-ts-5-0-0 console.error @ VM163:1 Browser.__init__ @ code.js:7131 (anonymous) @ code.js...

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

388. laya.media.SoundManager [ 77%]

...leaseSound:Boolean = true 音效播放后自动删除。 The default value is true.autoStopMusicproperty autoStopMusic:Boolean 失去焦点后是否自动停止背景音乐。 Implementation     public static function get autoStopMusic():Boolean    public static function set autoStopMusic(v...

来源: laya_api 发布时间: 20170929

389. mac 开放域 发布失败 [ 77%]

...rror: Could not call remote function ''. Check that the function signature is correct. Underlying error: Error processing argument at index 0, conversion failure from null Error: Could not call remote function ''. Check that the function signature is correct. Underlying error: Error processing argum...

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

390. layaAirIDE 打包APK 后 真机运行报错 [ 77%]

... lert=http://stand.alone.version/main.min.js:1: ReferenceError: createApes is not defined i=new RunGame;Laya.stage.addChild(i)}!function(){createApes()}(function(){function i(){this.BG_WIDT ReferenceError: createApes is not defined at BG_WIDTH (http://stand.alone.version/main.min.js:1:149) at eval (...

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