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

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

21. Uncaught TypeError: Cannot read property 'props' of undefined [ 71%]

Uncaught TypeError: Cannot read property 'props' of undefined 按照官方提供的代码,导入从unity导出的场景,出现此错误,代码如下 var Main = (function () { function Main() { //初始化引擎 Laya3D.init(0, 0,true); Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.stage.s...

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

22. 在LayaBox2中使用JavaScript创建编辑模式设计好的对话框 [ 71%]

...ist on type 'Node'. 微信小游戏如何使用ttf字体? Ts 编辑提示error TS5023: Unknown option 'p' LayaAirIDE下如何使用mask? 求高人分享使用protobuff框架的游戏demo(TS版本或AS版本的) laya2的Scene默认是文件模式,不会生成场景类了,此时该如何...

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

23. 微信小游戏默认项目代码添加unity导出.lh文件,微信开发工具提示错误 [ 71%]

...nsform's property instead. code.js:21065 Object WAGame.js:3 gameThirdScriptError Sprite3D: The .lh file root type must be Sprite3D,please use other function to load this file.;at api readFile success callback function [b]Error: Sprite3D: The .lh file root type must be Sprite3D,please use other funct...

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

24. 求助 Uncaught SyntaxError: Unexpected identifier [ 70%]

求助 Uncaught SyntaxError: Unexpected identifier Uncaught SyntaxError: Unexpected identifier 这个是什么错?按照官网教程写的//初始化3d画布 Laya3D.init(0, 0, true); //设置全屏 Laya.stage.scaleMode = Stage.SCALE_FULL; //显示统计数据 Stat.show(); // 给舞台添加laya3d...

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

25. Spine 间隔一段时间卡顿5000毫秒左右,期间GPU占用极高, Demo已上传 [ 70%]

...aya.Event.COMPLETE, handler.caller, handler.method); templet.on(Laya.Event.ERROR, this, this.printError); templet.loadAni(url); }  printError(e) { console.error(e); } } //激活启动类 new Main(); 附件 : --> TEST2.zip 2022-05-30 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到...

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

26. Templet资源删除不掉 [ 70%]

...LETE, this, onSkeletonDataParsed); //            factory.on(Event.ERROR, this, onError); //            factory.parseData(texture, data, 60);             factory.loadAni("res/Dragon.sk");         }         var swordman:Skeleton;         private function on...

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

27. Spine适配版(JavaScript-LayaAir基础篇(JS)-动画基础) [ 69%]

...emplet.on(Event.COMPLETE, this, this.parseComplete); this.templet.on(Event.ERROR, this, this.onError) } private parseComplete(): void { this.skeleton = this.templet.buildArmature(); Laya.stage.addChild(this.skeleton); this.skeleton.pos(Browser.width / 2, Browser.height / 2 + 100); this.skeleton.scal...

来源: Laya2.0_文档 发布时间: 20210715

28. discard property,please use transform's property instead [ 68%]

...登录 发起人 O-O 相关问题 laya2.0加载3d场景报错Uncaught TypeError: Cannot read property 'btCollisionObject' of undefined TrailSprite3D的ALIGNMENT_TRANSFORM_Z模式和ALIGNMENT_VIEW模式有什么区别? Cannot read property 'displayObject' of null Unity导出插件导出的模型中...

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

29. 使用对象池重复使用skeleton报错,请问有解决方案吗?谢谢 [ 67%]

...ecover('abc', skeleton);   报错信息: laya.core.js:6194 Uncaught TypeError: Cannot read property 'visible' of null     at RenderSprite3D.__proto._childs (laya.core.js:6194)     at RenderSprite3D.__proto._transform (laya.webgl.js:6730)     at Character.__proto.render (laya.core.js:15656) ...

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

30. 真机调试 开启子域后 提示出现window is not defined [ 67%]

...是在真机上调试就 报错 提示 下面2个错误 Uncaught ReferenceError: window is not defined ReferenceError: window is not defined   我在网上找到方法 var window = window || global; var document = document || (window.document = {}); 加在代码最前面试试 试添加的位置是...

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