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

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

251. 截屏问题className:layaair/game/browser/ExportJavaFunction,methodName:captureScreen [ 67%]

...idth,height){ conch.saveAsPng( content,width,height,conch.getCachePath()+"/test.png" ); }) }   2018-02-27 0 5 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 sata121 相关问题 发起问题须知,必看!!!不按提问规则的,...

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

252. 缓动画Bug,给了回调函数之后是直接过时间后执行回调函数,但是之前的缓动画不会执行 [ 67%]

...的链接 提交 3 个回复 cuixueying 赞同来自: Laya.Tween.to(this.testAnimation,{x:200,y:200},2000,null,Laya.Handler.create(this,this.change)) 把这句话改下就好了,第四个参数不能是{},如果使用默认缓动类型,设置为null即可! 2017-08-28 0 0 分享 微博 QZONE ...

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

253. 编译时报错 [ 67%]

...LayaAirIDE_beta2.5\resources\app   [16:24:15] Using gulpfile D:\workspace\Test_2_5_1\.laya\compile.js   [16:24:15] Starting 'layacompile'...   [16:24:16] Finished 'layacompile' after 634 ms   [16:24:16] Starting 'compile'...   [16:24:16] 'compile' errored after 23 ms [16:24:16] Error: Invalid n...

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

254. skin加载url资源不会刷新 [ 67%]

...ader.clearRes("http://10.144.1.20:8081/files/ ... 6quot;);         var test: Texture = Laya.loader.getRes("http://10.144.1.20:8081/files/ ... 6quot;);         Laya.loader.load("http://10.144.1.20:8081/files/ ... ot%3B, Handler.create(this, function (): void {             var t: Texture...

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

255. 绘制形状时事件不触发 [ 67%]

...nt) {         console.log("_____ kbRing2\n");     } } function laya_test() {     Laya.init(Laya.Browser.clientWidth, Laya.Browser.clientHeight, Laya.WebGL);     var ring = new myRing(600, 300, 18, "#087729", 40, "#a87729");     Laya.stage.addChild(ring.sprite); }   laya_test();   代...

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

256. 如何获取unity导出的摄像机 [ 67%]

...是不太明白那个回调怎么写,Laya.Scene.load("h5/LayaScene_Test01/Test01.ls");里面只能写url 苏栢 • 2018-08-08 17:05 @Laya_Aaron:下面是图片 Laya_Aaron • 2018-08-08 17:06 Laya.loarder.load 苏栢 • 2018-08-08 17:19 @Laya_Aaron:还是不太清楚,我用Laya.loard...

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

257. 初次加载场景正确,返回后只加载第一个场景 [ 67%]

...R:"+this.owner.name.slice(12,13) + "");         Laya.Scene.open("test/PuzzleScene"+this.owner.name.slice(12,13)+".scene",true,null,null,null); 附件 : --> PUZZLEORG1-2.zip PUZZLEORG1-1.zip 2020-11-15 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请:...

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

258. 部署web后无法请求访问HTTP API接口数据,调试模式下可以访问获取 [ 67%]

...以访问获取 Access to XMLHttpRequest at 'http://192.168.3.70:8081/api/test?data=test' from origin 'http://192.168.3.70:8082' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resou...

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

259. lightingmap 显示的亮度比unity暗很多 [ 67%]

...了unity5.6.0f3,unity5.5.0f3,Unity 2017.3.0f3 (64-bit),都是比unity暗.test.zip是unity测试包,麻烦管理员看下~ 附件 : --> test.zip 2018-03-07 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 3 个回复 fighter12...

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

260. laya.utils.ClassUtils [ 67%]

...", "scale":[2,2] }, "child":[ { "type":"Text", "props":{ "text":"this is a test", "var":"label", "rumtime":"" } } ] } ClassUtils  getInstance(className:String):*[static] 根据名称创建 Class 实例。 ClassUtils  getRegClass(className:String):*[static] 返回注册 Class 映射。 ClassUtils...

来源: laya_api 发布时间: 20170929