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

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

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

Laya.timer.loop() 报错 Cannot read property '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 ...

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

552. MovieClip 报错 [ 77%]

...var data:*; data=Loader.getRes(_url); if (!data) { event(Event.ERROR,"file not find"); return; } //保护修改-----start------------------ var atlasData:Object = Loader.getAtlas(_atlasPath); if(!atlasData) { event(Event.ERROR,"file not find"); return; } //保护修改-----end------------------ this...

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

553. 用https://layaair.ldc.layabox.com/demo/?2d&Network&XML 官网例子来测试XmlDom,编译报错 [ 77%]

...om,编译报错 如题,错误信息为 warning:XmlDom This variable is not defined. 2017-10-20 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Monica - 知识达人 赞同来自: mab604790322 这个目前确实...

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

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

...8,rankTexture.width,rankTexture.height); }); 报错bitmap._addReference is not a function TypeError: bitmap._addReference is not a function 这是报错地方的代码 /** *<code>Texture</code> 是一个纹理处理类。 */ //class laya.resource.Texture extends laya.events.EventDispatch...

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

555. 程序可以运行,但是过一段时间会出现Uncaught TypeError: Cannot read property 'font' of null错误,如何修改代码 [ 77%]

程序可以运行,但是过一段时间会出现Uncaught TypeError: Cannot read property 'font' of null错误,如何修改代码 附件 : --> 2017-11-03 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 wudi199...

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

556. 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 用了ByteAr...

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

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

子弹添加了colliderShape后onUpdate移动,destroy会报错“Cannot read property '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...

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

558. es6转es5后addComponent继承了Laya.Script3D的脚本后编译报错 [ 77%]

...编译调试启动chrome出现错误: Error processing launch: Error Could not attach to main target Laya中的宏编译要怎么用啊 ide 2.4 layaair2-cmd 编译报错 【带附件】 使用Laya2.0.0beta5.1 发布官方示例 真机报错 window is not defined 版本不匹配! 全局 tsc (2.2.2) !...

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

559. MovieClip 报错 [ 77%]

...var data:*; data=Loader.getRes(_url); if (!data) { event(Event.ERROR,"file not find"); return; } //保护修改-----start------------------ var atlasData:Object = Loader.getAtlas(_atlasPath); if(!atlasData) { event(Event.ERROR,"file not find"); return; } //保护修改-----end------------------ this...

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

560. 加载-错误处理和进度 [ 77%]

..., 400); // 无加载失败重试 Laya.loader.retryNum = 0; var urls = ["do not exist", "../../res/fighter/fighter.png", "../../res/legend/map.jpg"]; Laya.loader.load(urls, Handler.create(this, onAssetLoaded), Handler.create(this, onLoading, null, false), Loader.TEXT); // 侦听加载失败 Laya.load...

来源: Laya_示例 发布时间: 20260303