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

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

2341. List列表使用出现的问题 [ 51%]

... LayaAirIDE下如何使用mask? 使用3D时候,Property 'getComponentByType' does not exist on type 'Node'. 编译调试启动chrome出现错误: Error processing launch: Error Could not attach to main target 请问2.0的版本开始,我用ts编写的相关内容,都要使用import和export...

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

2342. the server responded with a status of 404 (Not Found) [ 51%]

...提示index.html not found unity3d sentinel key not found 构建报错,TypeScript error: node_modules/@types/node/base.d.ts' not found. ide2.6.0beta编译报错:This syntax requires an imported helper but module 'tslib' cannot be found Swift中接入其他都正常,但是在你们的conchConfi...

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

2343. RopeJoint代码动态创建 无法设置otherbody等属性 [ 51%]

...6; img.addComponent(RigidBody); (img.getComponent(RigidBody) as RigidBody).type="kinematic"; img2.addComponent(RopeJoint); (img2.getComponent(RopeJoint) as RopeJoint).otherBody=img.getComponent(RigidBody) as RigidBody; (img2.getComponent(RopeJoint) as RopeJoint).otherAnchor=new Array()[128,128]; (im...

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

2344. Image属性详解(JavaScript-IDE篇(JS)-IDE组件属性详解) [ 51%]

...ttps://layaair2.ldc2.layabox.com/api2/Chinese/index.html?version=2.9.0beta&type=2D&category=UI&class=laya.ui.Image)。 ​ **Image 组件的资源示例:** ​ ![图片0.png](img/1.png) ​ (图1) ​ **Image 组件拖放到编辑区后显示效果:** ​ ![图片0.png](img/2.png) ​ (图...

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

2345. 使用添加第三方的JS类库方法存在的bug。 [ 51%]

...呢?比如position或者scale 使用3D时候,Property 'getComponentByType' does not exist on type 'Node'. 有什么容器能够实现当子元素达到显示上限后自动滚屏,使得新添加的元素始终保持在最底部显示? LayaAirIDE下如何使用mask? TypeScript下HttpRequest...

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

2346. List设置滚动到指定位置之后,无法往回拖动 [ 51%]

...ot;"; let hasHeroArr:Array<any> MsgFactory.inst.heroMessasge.getTypeHeroList(HeroMessage.HERO_TYPE_ALL,2); this.herolist.repeatX = hasHeroArr.length; this.herolist.dataSource = hasHeroArr; this.herolist.scrollTo(8) 大体是这样的

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

2347. laya.ui.Widget_API3.0 [ 51%]

...Reset onStart onUpdate resetLayout Legend Object literal Variable Function Type alias Class Class with type parameter Method Accessor Inherited constructor Inherited property Inherited method Inherited accessor Enumeration Interface Static property

来源: Laya3.0_api 发布时间: 20231102

2348. 为对象创建Laya.Event.MOUSE_UP 和 Laya.Event.CLICK 事件的问题,, [ 51%]

...k的回调函数执行同一个,这样你可以在回调方法中通过e.type来判断当前点击的类型。如果是mouseup的话,执行完对应的逻辑就直接return调 2018-01-11 0 2 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人...

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

2349. 修复开放数据域组件WXOpenDataViewer鼠标不能拖动的问题 [ 51%]

...ewer排行榜可能鼠标错位   主域加上下面的代码即可修复 typescript   (<any>Laya.WXOpenDataViewer.prototype)._postMsg = function () {             var mat: Laya.Matrix = new Laya.Matrix();             //修改的地方,转换成全局坐标     ...

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

2350. [LayaAir3]Texture 加载无后缀图片异常 [ 51%]

...er.load方法,而不是使用Texture.load,loader.load方法可以传入type参数来指定类型 Recovery • 2025-02-24 13:57 好的,实际我不会使用Texture.load方法,我遇到的是_getSource->recoverBitmap的错误,研究错误时发现这个方法也有问题就一起提出来...

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