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

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

1931. 进度条组件 · LayaAir3.4 · 引擎文档 · LAYABOX [ 48%]

...gressBar.changeHandler = new Laya.Handler(this, this.onChange); this.owner.addChild(this.progressBar); Laya.timer.loop(100, this, this.changeValue); }); } // 模拟进度条加载 private changeValue(): void { if (this.progressBar.value >= 1) this.progressBar.value = 0; this.progressBar.value += ...

来源: Laya3.0_文档 发布时间: 20251010

1932. 限制区域拖动效果,为什么会无法限制呢? [ 48%]

...as", Handler.create(null, onLoaded)); }  function onLoaded() { Laya.stage.addChild(new GolfMainUI()); }   附件 : --> 2018-06-27 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 Laya_Aaron 赞同来自: 中心点...

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

1933. Tween的to方法完成缓动后的回调怎么写,Tween.to(beginbox,{x:-Laya.Browser.width},1000,null,aaa,0,false);aaa是一个测试方法 [ 48%]

...x.x = Laya.Browser.width;     gamebox.visible = true;     Laya.stage.addChild(gamebox);     // Tween.to(beginbox,{x:-Laya.Browser.width},1000,null,);     Tween.to(beginbox,{x:-Laya.Browser.width},1000,null,Handler.create(this,onTweeed))     Tween.to(gamebox,{x:0},1000);     console...

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

1934. laya.ui.ScaleBox_API3.0 [ 48%]

...m url viewport visible width x y zOrder Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTimer contains customRender destroy destroyChildren drawToCanvas drawToTexture drawToTexture3D event frameLoop frameOnce freshLayout...

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

1935. laya.ui.Box_API3.0 [ 48%]

...m url viewport visible width x y zOrder Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTimer contains customRender destroy destroyChildren drawToCanvas drawToTexture drawToTexture3D event frameLoop frameOnce freshLayout...

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

1936. ComboBox属性详解(JavaScript-IDE篇(JS)-IDE组件属性详解) [ 48%]

...mboBox.selectHandler = new Handler(this, onSelect, [comboBox]); Laya.stage.addChild(comboBox); return comboBox; } function onSelect(cb) { console.log("选中了: " + cb.selectedLabel); } })(); ```

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

1937. as hello world 背景还是黑色 [ 48%]

... //sp.fontSize = 55; sp.pos(100, 100) ; //sp.color = "#000000"; Laya.stage.addChild(sp); } } } chrome 下查看源代码 <html> <head> <meta charset='utf-8'/> <title>www.layabox.com</title> <meta name='renderer' content='webkit'> <meta name='viewport' content='...

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

1938. vivo小游戏 · LayaAir3.4 · 引擎文档 · LAYABOX [ 48%]

...gt; { let sp3: Laya.Sprite3D = res.create() as Laya.Sprite3D; this.scene3d.addChild(sp3); }); }) Laya.loader.loadPackage("sub2", this.printProgress).then(() => { Laya.loader.load("sub2/Sphere.lh").then((res: any) => { let sp3 = res.create(); this.scene3d.addChild(sp3); }); }) } printProgress(r...

来源: Laya3.0_文档 发布时间: 20251010

1939. laya.ui.AdvImage_API3.0 [ 48%]

...m url viewport visible width x y zOrder Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance addInputChild callLater clearTimer contains customRender destroy destroyChildren dispose drawToCanvas drawToTexture drawToTexture3D event frameLoop frameOnce f...

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

1940. box2d引擎报错问题 [ 48%]

...s.createEffect, this); effect.pos(this._sp.x, this._sp.y); this._sp.parent.addChild(effect); effect.play(0, false); this.owner.removeSelf(); Laya.Pool.recover("flyCat", this.owner) } } createEffect(): Laya.Animation { let ani: Laya.Animation = new Laya.Animation(); ani.loadAnimation("catFly.ani"); a...

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