大约有 5 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0019 秒)
...right reserved,powered by LayaAir Engine更新时间: 2025-04-22 14:18:35 img{cursor:pointer}
来源: Laya3.0_文档 发布时间: 20250422
...val = 1000; this.counter.x = (Laya.stage.width - this.counter.width) / 2 - 35; this.counter.y = (Laya.stage.height - this.counter.height) / 2 - 40; this.owner.addChild(this.counter); } private showTotalSeconds(): void { var clip: Laya.Clip = new Laya.Clip(this.clipSkin, 10, 1); clip.index = clip.cli...
来源: Laya3.0_文档 发布时间: 20251010
...; } onHurt(): void { this.bar.value = this.bar.value - 0.9; this.value.y = 35; this.value.visible = true; Main.instance.animator.play("stun"); Laya.Tween.create(this.value).to("y", -30).duration(1000); } } 上述代码中的Main.instance.animator.play("Stun");表示改变动画状态,目的是在...
来源: Laya3.0_文档 发布时间: 20251010
...向AS/JS/TS开发者提供HTML5开发技术方案!"; this.txt.fontSize = 35; this.txt.size(400,150); this.txt.borderColor = "#fa1515"; this.txt.overflow = "scroll"; this.txt.on(Laya.Event.MOUSE_DOWN, this, this.startScrollText); } /* 开始滚动文本 */ startScrollText() { prevX = this.txt.mouse...
来源: Laya3.0_文档 发布时间: 20251010
....SpotLightCom); spotLight.transform.localPosition = new Vector3(0.0, 9.0, -35.0); spotLight.transform.localRotationEuler = new Vector3(-15.0, 180.0, 0.0); spotLightCom.color.setValue(Math.random(), Math.random(), Math.random(), 1); spotLightCom.range = 50; spotLightCom.intensity = 15; spotLightCom.s...
来源: Laya3.0_文档 发布时间: 20251010