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

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

11. ani动画的问题 [ 93%]

ani动画的问题 我做了个ani的动画 this.ani2.loadAnimation("Ani/test.ani"); this.ani2.play(0,false, "test" ); 这样是能够播放的 但是我把动画直接拖到一个UI上,var 为ani1 直接调用 this.ani1.play(0,false, "test");会报 ani not found: Ani/test.ani#test Ani/test.ani ...

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

12. 这个GetType=null的问题有大神解答下吗 [ 92%]

...null preload.js:55 at box2d.b2Fixture.GetType (file:///D:/Documents/myLaya/test/bin/libs/laya.physics.js:430:204)   at box2d.b2ContactFactory.Create (file:///D:/Documents/myLaya/test/bin/libs/laya.physics.js:576:81)   at box2d.b2ContactManager.AddPair (file:///D:/Documents/myLaya/test/bin/libs/lay...

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

13. 请问我怎么在js中调用这个方法 [ 92%]

...我怎么在js中调用这个方法   var Zszen; (function (Zszen) { var Test = (function () { function Test() { this.rand = Math.random(); } Test.output = function (){ console.log(this.rand); } return Test; }()); Zszen.Test = Test; })(Zszen || (Zszen = {}));我使用 var a = new Zszen.Test(); a.ou...

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

14. js调用android的java代码失败。NoSuchMethodException [ 92%]

...Runtime::callMethod {"v":"java.lang.NoSuchMethodException: demo.JSBridge.testString: [class java.lang.String]"} demo.JSBridge testString:   在js那边的代码 为: _doTestCallJava(){ let os = null let bridge = null if(typeof conchConfig != "undefined"){ os = conchConfig.getOS() } if (os =...

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

15. 调用ui,new的时候出现Uncaught TypeError: Cannot read property 'call' of undefined [ 92%]

...Uncaught TypeError: Cannot read property 'call' of undefined 代码: var Test = (function(_surper){    function Test(){         Test.super(this);     };     Laya.class(Test, "Test", _surper);     return Test;      })(ui.TestUI);     报错Uncaught TypeError: Cannot read property '...

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

16. 使用/*[COMPILER OPTIONS:normal]*/来编译分包无法生成Dictionary类的定义 [ 92%]

...rmal]*/来编译分包无法生成Dictionary类的定义 module.defmodule:"test" path:"E:\layatest\testdict\src\test"文档类 package { /*[COMPILER OPTIONS:normal]*/ public class testdict { public function testdict() { } } }分包的类package test { import laya.display.Stage; import laya.utils.Dic...

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

17. TypeError: Cannot read property '_addRenderObject' of undefined [ 92%]

...f undefined preload.js:55 at MeshSprite3D._onActive (file:///E:/A_LayaDemo/test3Dscene/bin/libs/laya.d3.js:5617:17)   at MeshSprite3D._activeHierarchy (file:///E:/A_LayaDemo/test3Dscene/bin/libs/laya.core.js:12325:18)   at Sprite3D._activeHierarchy (file:///E:/A_LayaDemo/test3Dscene/bin/libs/laya....

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

18. js飞机大战报错 请大神看看 [ 92%]

...ty 'on' of undefined     at new GameInfo (file:///C:/Users/Kevin/Desktop/test/AirWar/AirWar09/src/GameInfo.js:12:22)     at onLoaded (file:///C:/Users/Kevin/Desktop/test/AirWar/AirWar09/src/Game.js:44:25)     at EventHandler.__proto.runWith (file:///C:/Users/Kevin/Desktop/test/AirWar/AirWar09/...

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

19. utils对test引用有歧义. [ 92%]

utils对test引用有歧义. 2018-01-29 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 qian 赞同来自: 能具体说一下么 2018-01-29 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 ...

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

20. SWF转换之后图片名多出TEST [ 92%]

SWF转换之后图片名多出TEST 文件用转换工具转换后,导出的散图里都有个test前缀名,导致读取报错。 因为单个图片尺寸较大,所以没打成一个图集,是不是不打成图集导致的?   附件 : --> 2018-06-01 添加评论 免费帖 --> 分享 微...

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