大约有 6 项符合查询结果, 库内数据总量为 30,786 项。 (搜索耗时: 0.0017 秒)
...2", "height": "24", "name": "selectBox", "skin": "ui/clip_selectBox.png", "right": "0", "clipY": "2"}}, {"type": "Clip", "props": {"y": "4", "x": "14", "name": "folder", "clipX": "1", "skin": "ui/clip_tree_folder.png", "clipY": "3"}}, {"type": "Label", "props": {"y": "1", "text": "treeItem", "width"...
来源: Laya_示例 发布时间: 20241124
... null, 100, 10); createText('center', 2, "#00BFFF", 155, 150); createText('right', 3, "#FF7F50", 210, 290); } function createText(align, underlineWidth, underlineColor, x, y) { var txt = new Text(); txt.text = "Layabox\n是HTML5引擎技术提供商\n与优秀的游戏发行商\n面向AS/JS/TS开发...
来源: Laya_示例 发布时间: 20241124
...l.lsani", "../../res/threeDimen/skinModel/Zombie/old/Assets/Zombie/Model/z@right_fall-right_fall.lsani", "../../res/threeDimen/skinModel/Zombie/old/Assets/Zombie/Model/z@back_fall-back_fall.lsani" ]; //遍历节点,添加SkinAnimation动画组件 function addSkinComponent(spirit3D) { if (spirit3D in...
来源: Laya_示例 发布时间: 20241124
...target.pos(100,100); } function createTimerLine() { timeLine.addLabel("turnRight",0).to(target,{x:450, y:100, scaleX:0.5, scaleY:0.5},2000,null,0) .addLabel("turnDown",0).to(target,{x:450, y:300, scaleX:0.2, scaleY:1, alpha:1},2000,null,0) .addLabel("turnLeft",0).to(target,{x:100, y:300, scaleX:1, s...
来源: Laya_示例 发布时间: 20241124
...UI(); }); 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.addChild(new Laya.Button("../../res/threeDimen/...
来源: Laya_示例 发布时间: 20241124
...transform.translate(this._tempUnitX3); else if (e.keyCode == Laya.Keyboard.RIGHT) this.layaMonkey.transform.translate(this._tempUnitX4); } function drawCollider() { if (!this.debug) { this.collider.active = false; this.layaMonkeyMeshSprite3D.removeComponentByType(DrawBoxColliderScript); this.debug =...
来源: Laya_示例 发布时间: 20241124