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

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

761. laya.ui.HScrollBar_API3.0 [ 39%]

...ublic class HScrollBar_Example { private var hScrollBar:HScrollBar; public function HScrollBar_Example() { Laya.init(640, 800);//设置游戏画布宽高。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load(["resource/ui/hscroll.png", "resource/ui/hscroll$bar.png", "re...

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

762. laya.ui.VScrollBar_API3.0 [ 39%]

...ublic class VScrollBar_Example { private var vScrollBar:VScrollBar; public function VScrollBar_Example() { Laya.init(640, 800);//设置游戏画布宽高、渲染模式。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load(["resource/ui/vscroll.png", "resource/ui/vscrol...

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

763. laya.ui.ProgressBar_API3.0 [ 39%]

...ic class ProgressBar_Example { private var progressBar:ProgressBar; public function ProgressBar_Example() { Laya.init(640, 800);//设置游戏画布宽高。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load(["resource/ui/progress.png", "resource/ui/progress$bar.png"],...

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

764. laya.ui.HSlider_API3.0 [ 38%]

...andler; public class HSlider_Example { private var hSlider:HSlider; public function HSlider_Example() { Laya.init(640, 800);//设置游戏画布宽高。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load(["resource/ui/hslider.png", "resource/ui/hslider$bar.png"], Handl...

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

765. laya.ui.List_API3.0 [ 38%]

...aya.ui.List; import laya.utils.Handler; public class List_Example { public function List_Example() { Laya.init(640, 800, "false");//设置游戏画布宽高、渲染模式。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load(["resource/ui/vscroll.png", "resource/ui/vsc...

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

766. laya.ui.Tree_API3.0 [ 38%]

...ils.Browser; import laya.utils.Handler; public class Tree_Example { public function Tree_Example() { Laya.init(640, 800); Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load(["resource/ui/vscroll.png", "resource/ui/vscroll$bar.png", "resource/ui/vscroll$down.png", "resou...

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

767. [BUG]刚体约束问题,移动后约束混乱! [ 37%]

...ure2D.load("res/threeDimen/Physics/grass.png", Laya.Handler.create(this, function (tex) {       planeMat.albedoTexture = tex;     }));     //设置纹理平铺和偏移     var tilingOffset = planeMat.tilingOffset;     tilingOffset.setValue(5, 5, 0, 0);     plan...

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

768. 关于在TS工程中引入微信JS-SDK的问题 [ 37%]

....config));   在PC上用chrome运行,wx的类型是object,wx.config是function,一切正常,但如果导出后用微信开发者工具打开,则出现如下图的问题:   //========================================   如果不下载到本地,用如下语句在线引用的话: <...

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

769. 3D粒子 · LayaAir3.4 · 引擎文档 · LAYABOX [ 37%]

...ath = ""; } Pool.getInstance().ClearGroup("Particle3D@" + root_path, this, function(particle_3d:Particle3D) { particle_3d.Clean(); }); } } 5.2 自定义对象池类 export class Pool { private _poolDic:{[key: string]: any;} = {}; private InPoolSign: string = "__InPool"; constructor() { } private sta...

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

770. 3D粒子编辑模块 · LayaAir3文档 · LAYABOX [ 37%]

...ath = ""; } Pool.getInstance().ClearGroup("Particle3D@" + root_path, this, function(particle_3d:Particle3D) { particle_3d.Clean(); }); } } 5.2 自定义对象池类 export class Pool { private _poolDic:{[key: string]: any;} = {}; private InPoolSign: string = "__InPool"; constructor() { } private sta...

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