大约有 5 项符合查询结果, 库内数据总量为 30,779 项。 (搜索耗时: 0.0015 秒)
...LayaAirIDE让项目开发更高效。(function() { var Box = Laya.Box; var Clip = Laya.Clip; var Label = Laya.Label; var Utils = Laya.Utils; // 此类对应的json对象: // {"child": [{"type": "Clip", "props": {"x": "13", "y": "0", "left": "12", "height": "24", "name": "selectBox", "skin": "ui/cl...
来源: Laya_示例 发布时间: 20241119
...效。(function() { var Stage = Laya.Stage; var Button = Laya.Button; var Clip = Laya.Clip; var Image = Laya.Image; var Handler = Laya.Handler; var WebGL = Laya.WebGL; var buttonSkin = "../../res/ui/button-7.png"; var clipSkin = "../../res/ui/num0-9.png"; var bgSkin = "../../res/ui/coutDown.png"; va...
来源: Laya_示例 发布时间: 20241119
...BtnClick() { //手动控制组件属性 this.radio.selectedIndex = 1; this.clip.index = 8; this.tab.selectedIndex = 2; this.combobox.selectedIndex = 0; this.check.selected = true; } function onBtn2Click() { //通过赋值可以简单快速修改组件属性 //赋值有两种方式: //简单赋值...
来源: Laya_示例 发布时间: 20241119
... = []; for (var i: number = 1; i = animation.frames.concat(); // 反转帧 clips = clips.reverse(); // 添加到已有帧末尾 animation.frames = animation.frames.concat(clips); animation.play(); return animation; } private preFixNumber(num:number, strLen:number):string { return ("0000000000" + num...
来源: Laya_示例 发布时间: 20241119
...).getComponentByType(Laya.Animator); loadUI(); }); function loadUI() { var clipName = ["walk","attack","left_fall","right_fall","back_fall"]; var curStateIndex = 0; Laya.loader.load(["../../res/threeDimen/ui/button.png"], Laya.Handler.create(null, function () { changeActionButton = Laya.stage.addChi...
来源: Laya_示例 发布时间: 20241119