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

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

21. 在add panel 后设置 hScrollBar.value 没有用 [ 77%]

...Nevermore 赞同来自: Laya.stage.addChild(this);             console.log("addd 33");                         this.alpha = 0;             Laya.Tween.to(this,{alpha:1},200);             self.panel_room.hScrollBar.value = 432; console.log("s...

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

22. 给图片节点添加新创建的图片,会报这个错:node._setParent is not a function [ 74%]

...nt is not a function this.imageBg = this.owner.getChildByName("image_bg"); console.log("this.imageBg==="+this.imageBg); for (let iColumns = 1; iColumns < this.intColumns; iColumns++) { this.arrLove[iColumns] = []; for (let iRows = 1; iRows < this.intRows; iRows++) { let iNum = Math.round(Math....

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

23. http 请求 once 的 回调参数,如何传递和接收? [ 74%]

..., "post","json",null);   回调方法: success:function (e,args) {     console.log(e); //此行可以得到响应内容     console.log(args);  //此行无法获取自定义参数? } 请问如何获取/传递 自定义参数。 2018-03-04 添加评论 免费帖 --> 分享 微博 QZONE ...

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

24. ui编辑器中使用龙骨动画问题 [ 74%]

...nhua • 2018-03-22 14:48 this.guge.once(Laya.Event.COMPLETE,this,()=>{ console.log('解析完成'); }); console.log(this.guge.templet); 这样是监听不到Complete事件的,打印出来this.guge.templet结果为null liwenhua • 2018-03-22 14:52 使用U编辑器I做的这个好像没有使...

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

25. layaair2d的sprite的鼠标右键事件无效 [ 74%]

...键事件无效 self.getSprite().on(Event.MOUSE_DOWN, self, function (e) { console.log(e)鼠标左键点击有效果,但是右键无效果 附件 : --> 2022-05-17 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 L...

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

26. 微信小游戏提审后,提示说代码侵权 [ 74%]

...r traceName = "xxxx";//添加的干扰代码 var funString = '_xxxx_fun(){ console.log("';//添加的方法体 var root_Url = "D:/code/project/src";//项目diam路径 fileDisplay(path.resolve(root_Url)); /** * 文件遍历方法 * @param filePath 需要遍历的文件路径 */ function fileDisplay(f...

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

27. 龙骨动画残影 [ 74%]

...片段如下:  private _onAnimationCreated(ani)     {         console.log("ani created:" + ani);         this._hero = ani;         this.addChild(this._hero);         this._hero.pos(300, 400);         this._hero.scale(0.3, 0.3);         this._hero.on(La...

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

28. [LayaAirIDE3]skel骨骼动画播放失败,编辑器预览没问题 [ 73%]

...n = new Laya.SpineSkeleton();     this.skeleton.templet = templet;     console.log("动画数量:", this.skeleton.getAnimNum());     for (let i = 0; i < this.skeleton.getAnimNum(); i++) {         console.log("动画名:", this.skeleton.getAniNameByIndex(i));     }     if (this.s...

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

29. ProgressBar 代码问题 [ 73%]

... new Handler(this, this.onChange); } public changeValue():void{        console.log("change");        if (this.loadingBar.value >= 1){                 this.loadingBar.value = 0;        }             this.loadingBar.value += 0.05;        }        onChange(value: nu...

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

30. laya的摇一摇发布到微信小游戏上无效 [ 72%]

...nstance.on(Event.CHANGE, this, onShake); private function onShake():void { console.log("摇晃了!!!!"); }这段代码发布到微信小游戏上并无效果 请问是什么原因呢 2018-07-26 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内...

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