大约有 778 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0104 秒)
Laya_社区(405) Laya2.0_文档(169) Laya_示例(108) Laya2.0_示例(67) Laya3.0_文档(16) Laya3.0_api(11) Laya2.0_api(2)
...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
...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
...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
...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
...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
...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
...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
....config)); 在PC上用chrome运行,wx的类型是object,wx.config是function,一切正常,但如果导出后用微信开发者工具打开,则出现如下图的问题: //======================================== 如果不下载到本地,用如下语句在线引用的话: <...
来源: Laya_社区 发布时间: 20180724
...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
...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