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

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

41. 反射实例中的属性 [ 65%]

... { public name: string = "mmmmm"; constructor() { } public write(): void { console.log("qqqqqqqq"); } } 2018-10-29 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 快到我&碗里来 赞同来自: 会报错 2018-...

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

42. 为什么 Event 事件触发不了? [ 64%]

...; Block.pos(300, 100); Block.on(Event.MOUSE_DOWN, this, function() {     console.log(1); });   点击无效,但我给用 Laya.stage.on(Event.MOUSE_DOWN); 是有效的   什么原因了?谢谢解答 2017-03-24 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已...

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

43. LayaAir能做RPG吗?不要问我能不能,因为我已经在做 - 杀意来袭 [ 64%]

...; a.on(Laya.Event.MOUSE_DOWN, null, function (e: Laya.Event): void {     console.log("touch a"); } 因为需要将mouseThrough=true才可以,蛋疼的api描叙你能相信是这个熟悉么? “mouseThrough : Boolean = false,指定当mouseEnabled=true时,是否可穿透。默认值为false...

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

44. [LayaAir3]平面阴影Stencil用法问题 [ 64%]

...脚本,但是无效,是用法不对吗 onAwake(): void {         console.log(this.owner.name)         var skin = this.owner.getComponent(Laya.SkinnedMeshRenderer);         let mat = skin.material;         mat.stencilTest = Laya.RenderState.STENCILTEST_NOTEQUAL;         mat.st...

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

45. Animation 播放完成回调有参数吗 [ 64%]

... Animation.on(Event.COMPLETE, this, bfwc); function bfwc(e){         console.log(e.target.name); }    是错误的 2017-07-18 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 Monica - 知识达人 赞同来...

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

46. 动态克隆的模型属性丢失! [ 64%]

...e,new Laya.Vector3(wx,0,0)); scene.addChild(num); num.wx=remodarr(num)[0]; console.log("当前宽"+num.wx) num是一个数组精灵,我在动态克隆精灵之 后,当时这个属 性输出是存在的, 但是在帧循环里,再次循环调用的时候,这个属性就丢失啦!! 但是...

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

47. DialogManager怎么添加遮罩层 [ 63%]

...材/背景黑色蒙版.png",0,0,1600,1080); this.scTipsPg= new ScTpisUI(); console.log(this.scTipsPg.manager); this.scTipsPg.manager=dialogManager; this.scTipsPg.manager.maskLayer=sprite1; this.scTipsPg.popupCenter=false; this.scTipsPg.top=60; this.scTipsPg.right=-510; this.scTipsPg.show();     ...

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

48. DialogManager怎么添加遮罩层 [ 63%]

...材/背景黑色蒙版.png",0,0,1600,1080); this.scTipsPg= new ScTpisUI(); console.log(this.scTipsPg.manager); this.scTipsPg.manager=dialogManager; this.scTipsPg.manager.maskLayer=sprite1; this.scTipsPg.popupCenter=false; this.scTipsPg.top=60; this.scTipsPg.right=-510; this.scTipsPg.show();   不...

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

49. Laya Ide 无法调试 [ 63%]

...adapter process has terminated unexpectedly   layabox ide 无法调试 ,console.log 打印无效,不知道是什么情况! 附件 : --> 2017-01-18 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 emoonight ...

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

50. 一个没有动作的骨骼动画 替换插图没有用 [ 63%]

...his.skebqb.replaceSlotSkinName("chuandiwu","","bianbian");         console.log("1111");     }   使用了模板 其他可以动的动画是可以正确替换贴图的 但是播放0帧的动画时 替换贴图不行 附件 : --> 2020-12-31 添加评论 免费帖 --> 分享 微博 QZONE ...

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