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

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

381. Laya.timer.loop() 报错 Cannot read property 'loop' of null [ 77%]

...roperty 'loop' of null import { Image } from "laya/ui/Image"; // import { List } from "laya/ui/List"; import { Laya } from "laya"; export default class test_move extends Image{ // /** @prop {name:move_img, tips:"用来移动的箭头", type:Image} */ // public _move_img: Image; // public _list: List...

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

382. 官方提供的关系链代码执行报错,是不是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

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

384. 子弹添加了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

385. 播放音效时报错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

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

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

388. 微信开发者工具,打开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

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

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