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

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

71. 对话框点击空白处真的无法关闭 [ 73%]

...误在哪里?谢谢大家   对话框的对象 var SelectColorDialog = (function () { function selectColorDialog() { SelectColorDialog.super(this); this.name = 'SelectColorDialog'; this.x = 1013; } Laya.class(selectColorDialog, "SelectColorDialog", testUI); return selectColorDialog; }());调用...

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

72. 加载unity导出场景失败 [ 73%]

...reate (file:///E:/LayaAir/ZJKZWDT/bin/libs/laya.core.js:12969:21)     at Function.Scene.load (file:///E:/LayaAir/ZJKZWDT/bin/libs/laya.d3.js:29591:22)     at file:///E:/LayaAir/ZJKZWDT/src/LayaSample.js:5:22   附件 : --> 2018-05-23 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有...

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

73. getimagedata直接调用无法获取有效像素问题 [ 72%]

...在调用了 texture的 getpixels 得到有效数据。__proto.getPixels=function(x,y,width,height){ if (Render.isWebGL){ return RunDriver.getTexturePixels(this,x,y,width,height); }else { Browser.canvas.size(width,height); Browser.canvas.clear(); Browser.context.drawTexture(this,-x,-y,this.width,thi...

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

74. 请问,从Unity同过插件导出的场景到LayaAir里面报"model file err,no this function:"这个错是怎么回事? [ 72%]

...Unity同过插件导出的场景到LayaAir里面报"model file err,no this function:"这个错是怎么回事? Unity版本为5.6.0f3, Laya引擎版本 LayaAir IDE 1.7.11,选择语音为TS,导出插件版本为:1.7.0,系统环境win10 64位 附件 : --> 2017-11-07 添加评论 免费帖 --> ...

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

75. Laya.MiniAdpter.downLoadFile缓存的文件无法读取的问题 [ 72%]

...个问题: 1、在MiniFileMgr.readFile函数中: MiniFileMgr.readFile=function(filePath,encoding,callBack,readyUrl,isSaveFile,fileType){ (encoding===void 0)&& (encoding="ascill"); (readyUrl===void 0)&& (readyUrl=""); (isSaveFile===void 0)&& (isSaveFile=false); (fileType==...

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

76. 位图字体的制作与使用(ActionScript-LayaAir基础篇(AS3)-文本) [ 72%]

...r mFontName:String = "diyFont"; private var mBitmapFont:BitmapFont; public function TestBitmapFont() { Laya.init(550, 400); mBitmapFont = new BitmapFont(); //这里不需要扩展名,外部保证fnt与png文件同名 mBitmapFont.loadFont("layabmfont.fnt",new Handler(this,onLoaded)); } private func...

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

77. 微信小游戏运行导出项目的时候报错:Scene: the .lh file root type must be Scene [ 72%]

...戏项目。 Scene: the .lh file root type must be Scene,please use other function to  load  this file.;at api readFile success callback function Error: Scene: the .lh file root type must be Scene,please use other function to  load  this file.     at MyScene.__proto.onAsynLoaded (http://127.0....

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

78. dialog 自定义关闭效果,效果执行完,弹窗无法关闭 [ 72%]

...CloseEffect,null,true);   //具体的实现代码 _proto_.onCloseEffect = function(){ Laya.Tween.to(this,{ x:-100 //动画结束就关闭 },1000,null,Laya.Handler.create(this,this.close)); }   但是动画结束了,关闭不了 2017-08-09 0 0 分享 微博 QZONE 微信 gls_laybox 赞同来自: ...

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

79. 3D模型无法用Tween类吗 [ 72%]

...en.to(box.potOld,{     x:1     ,y:2     ,update:new Laya.Handler(box,function(){         this.transform.position = this.potOld;     }) }, ConstValue.animationTime,Laya.Ease.elasticOut,Laya.Handler.create(this, function(){     console.log("complete"); }),ConstValue.animationDelay);   ...

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

80. TypeScript Json 数据解析 [ 72%]

... } 第二种方式 Laya.loader.load("zxc.json", Laya.Handler.create(this,function(){ this.wayPoints = Laya.loader.getRes("zxc.json") as JSON; console.log(this.wayPoints.name); }),null,Laya.Loader.JSON); 使用匿名函数的时候就不报错 我该怎么循环Json文件内容 我是要在其他类...

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