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

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

51. UNITY3D导出模型加载错误 [ 79%]

....js:465) at Loader.__proto.complete (laya.core.js:12141) at Loader.__proto.onLoaded (laya.core.js:12130) at EventHandler.__proto.runWith (laya.core.js:686) at HttpRequest.__proto.event (laya.core.js:465) at HttpRequest.__proto.complete (laya.core.js:11854) __proto._create @ laya.core.js:12371 __prot...

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

52. sk文件加载 [ 78%]

...ader.load([{url:"res/sk/cow.sk",type:Loader.BUFFER}], Handler.create(this, onLoaded));             onLoaded();         }                  private function onLoaded():void {             var sk:Skeleton = new Skeleton();             trace("-=...

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

53. 在 tiledmap 插入一个精灵在上面 [ 78%]

...  Laya.loader.load("res/atlas/images.atlas",Laya.Handler.create(this,this.onLoaded),null,Laya.Loader.ATLAS); }   onLoaded(){   console.info("onLoaded");   this.tiledMap = new Laya.TiledMap();   this.tiledMap.createMap("desert.json", new Laya.Rectangle(0, 0, Laya.stage.width, Laya.stage.height),...

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

54. 为何发生此类报错Uncaught TypeError: Cannot read property '_tf' of null [ 78%]

.../Public@sl4615.mp3",type:laya.net.Loader.SOUND} ],Laya.Handler.create(this,onLoaded));  /*登录界面*/ var resArray=[ {url:"res/LoginView.fui",type:laya.net.Loader.BUFFER}, {url:"res/LoginView@atlas0.png",type:laya.net.Loader.IMAGE} ]; var loadcount=resArray.length; function onLoaded() { console....

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

55. 添加fairygui使用fairygui.UIPackage.addPackage ( "res/Bag" )后可以正常跑,发布到微信小游戏出错 [ 77%]

...     //Laya.loader.load("res/atlas/comp.atlas", Handler.create(this, onLoaded));              Laya.loader.load             (                 [                     { url: "res/atlas/comp.atlas" , type: Loader.ATLAS },         ...

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

56. 显卡驱动停止响应,且大概率蓝屏,原来是Handler惹的祸,但原因是什么 [ 77%]

..., 代码如下,项目文件我也打包上传了,求原因, 类B的onloaded方法会无限循环执行   testlaya.aspackage { import laya.display.Stage; import laya.webgl.WebGL; public class testlaya { public function testlaya() { Laya.init(100, 100, WebGL); Laya.stage.alignV = Stage.ALIGN_MI...

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

57. IDE-显示IDE创建的界面 [ 76%]

...l: "res/atlas/comp.json", type: Loader.ATLAS }], Handler.create(this, this.onLoaded)); function onLoaded(): void { //示例UI界面 var testUI: TestUI = new TestUI(); Laya.stage.addChild(testUI); }// TestView.as package { import game.ui.test.TestPageUI; import laya.display.Text; import laya.events.E...

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

58. IDE-显示IDE创建的界面 [ 76%]

...l: "res/atlas/comp.json", type: Loader.ATLAS }], Handler.create(this, this.onLoaded)); function onLoaded(): void { //示例UI界面 var testUI: TestUI = new TestUI(); Laya.stage.addChild(testUI); }// TestView.as package { import game.ui.test.TestPageUI; import laya.display.Text; import laya.events.E...

来源: Laya2.0_示例 发布时间: 20200319

59. unity导出模型在laya加载报错 [ 76%]

...laya/mytalkingtom_demo/bin/libs/laya.core.js:16331:9)   at Loader.__proto.onLoaded (file:///E:/svn/210/h5engine/trunk/laya/mytalkingtom_demo/bin/libs/laya.core.js:16299:9)   at EventHandler.__proto.runWith (file:///E:/svn/210/h5engine/trunk/laya/mytalkingtom_demo/bin/libs/laya.core.js:1409:59)   ...

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

60. 内存优化方式(JavaScript-2D进阶篇(JS)-性能优化) [ 76%]

...(urls, Laya.Handler.create(this, onAssetLoaded), Laya.Handler.create(this, onLoading));` 在上面的代码中,使用`Laya.Handler.create(this,onLoading)`返回的回调方法,是要处理progress加载进度事件,由于回调执行一次之后就被对象池回收了,所以,progress加...

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