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

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

391. Spine适配版(ActionScript-LayaAir基础篇(AS3)-动画基础) [ 48%]

...n onError(): void{ trace("parse error"); } private function play(): void { console.log("1111111111"); if(++this.index >= this.skeleton.getAnimNum()) { this.index = 0 } this.skeleton.play(this.index, false, true) } } ``` 具体效果大家可以在官网引擎事例中查看。https://layaair2.ldc2.l...

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

392. LayaAir功能介绍(TypeScript-简介篇(TS)-LayaAir引擎简介) [ 48%]

...LayaNative1.0版本中,要调试项目中的JavaScript代码只能调用console.log或者alert函数。在layaNative2.0版本中正式支持使用Chrome浏览器调试JavaScript代码。可以在Chrome的调试器里对代码进行断点的添加,代码追踪等功能。 **测试App支持扫码...

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

393. 两个对象new了一个相同的对象,调用第一个的一个方法,走进了第二方法里 [ 47%]

....aa.shuchu();//输出这个组件num,结果为2,是LayaSample.bb的num console.info(s); }, 1000); } } class Child{ private _num:string; public num(n:string){ this._num = n; } public shuchu(){ return this._num; } } new LayaSample(); 2018-08-05 3 0 分享 微博 QZONE 微信 手撕腊鸭 赞同来...

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

394. 骨骼动画-换装 [ 47%]

...onError); this.mFactory.loadAni(this.mAniPath); } private onError():void { console.log("error"); } private parseComplete():void { //创建模式为1,可以启用换装 this.mArmature = this.mFactory.buildArmature(1); this.mArmature.x = this.mStartX; this.mArmature.y = this.mStartY; Laya.stage.addC...

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

395. [临时解决]bug?加载sk问题 [ 46%]

...rototype;      _proto.preload = function (complete) {         console.log("preload..." + (++this.numPreloadCalls));          if (this.dragon_sk._templet) {             complete();         } else {             Laya.timer.frameOnce(1, this, this.pr...

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

396. Laya中Button等组件lose skin的问题 [ 46%]

...der.getRes(this._skin);         if (!img){             console.log("lose skin",this._skin);             return;         };         var width=img.sourceWidth;         var height=img.sourceHeight / this._stateNum;         img.$_GID || (im...

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

397. 写了个边缘光的自定义shader,有很多问题,帮忙看一下 [ 44%]

...ial = customMaterial; mesh.meshRender.sharedMaterial = customMaterial2; // console.log(mesh4.meshRender.sharedMaterial); shaderDemo.zip 2017-05-25 0 0 分享 微博 QZONE 微信 ebaww 赞同来自: 我按你说的改了一下CustomMaterial.js,效果正确了,现在我想不用代码,直接改....

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

398. 自己写了个label继承官方的label,出现了问题,求指导~ [ 44%]

...String(rightMargin); _indent = String(indent); _leading = String(leading); console.log("font==="+_font, "size==="+_fontSize, "color==="+_color, "bold==="+_bold, "italic==="+_italic, "underline==="+_underline,"leftMargin==="+_leftMargin, "rightMargin==="+_rightMargin); } } } 附件 : --> DemoLabel.zi...

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

399. ios14新系统问题 [ 44%]

...的webgl项目,其他引擎的项目 把LayaSample.max.js简化为一个console.log('xxx')能跑么 另外你怎么升级的14.2 jason: • 2020-09-24 17:28 @郭兆奎:ios14.2还是beta版本,没有正式推送,还挺多BUG的,腾讯视频什么的都打不开,某些问题是可以忽略...

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

400. 针对2.0.0 beta5 setLoadingPage 做增强 [ 43%]

...ass page2 extends Laya.Scene { constructor() { super() } onOpened (args) { console.log(args) } }   附件 : --> 2018-11-24 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 Laya_Aaron 赞同来自: 感谢分享~! ...

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