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

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

401. 对游戏中各种控件字体样式使用“白鹭style”样式表 [ 53%]

...n this; }; //可以用style样式来控制各种控件的字体设置 Laya.Component.prototype["textFormatObj"] = null;//给Component基类定义一个textFormatObj属性 //Label字体样式处理 Laya["getset"](false, Laya.Label.prototype, "fontStyle", function () { return this["textFormatObj"]; },...

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

402. 关于as的XmlDom的warning [ 53%]

...动画报错“LayaAir3D Warning(Code:0000) : XXXXXXX can't use Animation Componment!” 问题状态 最新活动: 2017-12-27 16:20 浏览: 716 关注: 2 人

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

403. 自定义官方组件报错,有无官方例子下载? [ 53%]

...2,所以看了官网自定义组件的文档,自己操作时报错,component下什么都没有,如图 请问有没有例子下载参考下哪里出错了 附件 : --> ScaleButton.rar 2018-07-18 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内...

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

404. 从Unity导出的模型,组件全是空的。 [ 53%]

...是2018.1.0f2,LayaAirUnityPlugin 1.7.16   像这样,导出的.lh中,components全是空的。导致 var zombieAnimator = plane.getChildAt(0).getComponentByType(Laya.Animator); zombieAnimator.play("Idle"); 播放动画时,zombieAnimator 是null 附件 : --> 2018-05-08 添加评论 免费帖...

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

405. must set Document Class 是怎么回事? [ 53%]

....Skeleton Uncaught 无法实例class PhysicsCollider extends PhysicsTriggerComponent Uncaught TypeError: Class constructor Component cannot be invoked without 'new' 做微信开放域遇到Uncaught Can not find class laya.ui.WXOpenDataViewer 做微信开放域遇到Uncaught Can not find class laya.u...

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

406. 关于缩放模式下的缩放比 [ 53%]

...它离父节点的距离都是一样的。具体的解释你可以去看下Component 的API 2017-11-13 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 qq337918198 相关问题 laya2的Scene默认是文件模式,不会生成场景类了...

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

407. TypeError: Cannot read property 'on' of null [ 53%]

...FontFaceFromBuffer is not a function Uncaught TypeError: Class constructor Component cannot be invoked without 'new' 关于graphics.drawTexture方法设置纹理报错TypeError: texture.getIsReady is not a function 升级到2.2.0Beta报错Uncaught TypeError: Class constructor Sprite cannot be invoke...

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

408. 参照3D高级示例 鼠标拾取没有Laya.MeshCollider、Laya.BoxCollider等这些类 [ 53%]

... 2017-05-13 0 0 分享 微博 QZONE 微信 wwyybb1 赞同来自: laya.d3.component.MeshCollider 也提示没有找到这个类 版本1.74beta   2017-05-13 0 0 分享 微博 QZONE 微信 wwyybb1 赞同来自: 问题已解决。。没有更新类库。 2017-05-13 0 0 分享 微博 QZONE 微信 为什...

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

409. 官方自定义组件的制作与使用例子出错 [ 52%]

... 微信 bluesliu 赞同来自: 要在index.html中引入<script src="js/component/ScaleButton.js"></script> 2020-07-15 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 cappuccino 相关问题 分享:LayaAir下Loading进度条...

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

410. 如何在代码中new Poly [ 52%]

...设置它的  renderType   这样也不行 : this.imgExpedition = new component.HomeScaleFilterImg(3, 655, "home/imgExpedition.png", 0); this._sprHome.addChildAt(this.imgExpedition, 0); this.homeScaleFilterImgList.push(this.imgExpedition);  Laya.timer.once(2000, this, () => {  let dd: Laya....

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