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

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

561. 如何在代码中new Poly [ 79%]

...y 如题,然后设置它的  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, () => ...

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

562. 怎么像canvas那样做到每次循环去清空一次画布,我发现每次画的时候他会把上一次的坐标也画出来,导致变形了,该如何让他每次累加的同时清空上次的路径 [ 79%]

...,该如何让他每次累加的同时清空上次的路径 var sp; var x = 0; export default class Scene extends Laya.Sprite{ constructor(){ super(); Laya.init(500, 300, Laya.WebGL); var bg = new Laya.Sprite(); bg.loadImage("comp/hunter.jpg"); this.addChild(bg); Laya.timer.frameLoop(1,this,this.mo...

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

563. laya.ui.Panel [ 79%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames PanelProperties | Methods | Events Packagelaya.uiClasspublic class PanelInheritancePanel Box Component Sprite Node EventDispatcher Object Panel 是一个面板容器类。 Public Properties Hide Inherited Public Propert...

来源: laya_api 发布时间: 20170929

564. 1.7.19版本如何升级到2.0版本 [ 79%]

...ew和dialog都被scene替代,在语法上支持ES6,我用js开发的1.7x项目在2.0的IDE中直接运行暂时没有遇到bug,如果是AS3或TS的已有项目,可能转换的工作量比较大 2019-02-21 0 0 分享 微博 QZONE 微信 Laya_XS 赞同来自: 目前不推荐将引起1.x的项...

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

565. laya.particle.Particle2D [ 79%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames Particle2DProperties | Methods | Events Packagelaya.particleClasspublic class Particle2DInheritanceParticle2D Sprite Node EventDispatcher Object Particle2D 类是2D粒子播放类 Public Properties Hide Inherited Public...

来源: Laya2.0_api 发布时间: 20190513

566. [LayaNative2]Laya2.0 更新最新的2.13.9.3 16kb库会时不时的断网,导致游戏直接卡主 [ 79%]

...ck connection closing 75 reason 2025-11-14 10:03:41.988  9605-10051 LayaBox                 ***        I  JSWebSocketDelegate::onClose()this={public}x ws={public}x 2025-11-14 10:03:41.989  9605-10051 LayaBox                 ***          I  WebSocket onSocketCallback co...

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

567. box2d动态创建绑定多个关节报错 Node:the component is singleton,can't add the second one. [ 79%]

box2d动态创建绑定多个关节报错 Node:the component is singleton,can't add the second one. 需求:模拟粘性小球,与任何物体发生碰撞后,在容器内动态创建多个DistanceJoint 与多个不同rigBody做距离关系绑定 代码片段:  onTriggerEnter(other: any, se...

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

568. laya.ui.HScrollBar_API3.0 [ 79%]

Search Preparing search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/ui/HScrollBar" HScrollBar Class HScrollBar 使用 HScrollBar (水平 ScrollBar )控件,可以在因数据太多而不能在...

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

569. laya.ui.VScrollBar_API3.0 [ 79%]

Search Preparing search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/ui/VScrollBar" VScrollBar Class VScrollBar 使用 VScrollBar (垂直 ScrollBar )控件,可以在因数据太多而不能在...

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

570. laya.ui.Box [ 79%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames BoxProperties | Methods | Events Packagelaya.uiClasspublic class BoxInheritanceBox Component Sprite Node EventDispatcher ObjectImplements IBoxSubclasses LayoutBox, List, Panel, Tree, UIGroup, View, ViewStack Box 类是...

来源: laya_api 发布时间: 20170929