大约有 2 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0012 秒)
...} onLabel(label) { console.log("LabelName:" + label); } keyDown(e) { const Keyboard = Laya.Keyboard; switch(e.keyCode) { case Keyboard.LEFT: this.timeLine.play("turnLeft"); break; case Keyboard.RIGHT: this.timeLine.play("turnRight"); break; case Keyboard.UP: this.timeLine.play("turnUp"); break; case...
来源: Laya2.0_示例 发布时间: 20241118
...irIDE让项目开发更高效。let logger, keyDownList; class Interaction_Keyboard { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage, Stat = Laya.Stat, Handler = Laya.Handler; // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clien...
来源: Laya2.0_示例 发布时间: 20241118