大约有 4 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0018 秒)
...言、LayaAirIDE让项目开发更高效。let compassImgPath = "res/inputDevice/kd.png", compassImg, degreesText, directionIndicator, firstTime = true; class InputDevice_Compass { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage, Stat = Laya.Stat, Handler = Laya....
来源: Laya2.0_示例 发布时间: 20241118
... [], initialSegmentsAmount = 5, vx = 0, vy = 0, targetPosition; class InputDevice_GluttonousSnake { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage, Stat = Laya.Stat, Handler = Laya.Handler, Event = Laya.Event, Accelerator = Laya.Accelerator; // 不支持WebGL时...
来源: Laya2.0_示例 发布时间: 20241118
...DE让项目开发更高效。let map, marker, mapDiv, infoText; class InputDevice_Map { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage, Stat = Laya.Stat, Handler = Laya.Handler, Geolocation = Laya.Geolocation; // 不支持WebGL时自动切换至Canvas Laya.init(...
来源: Laya2.0_示例 发布时间: 20241118
...高效。let picW = 824, picH = 484, console, shakeCount = 0; class InputDevice_Shake { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage, Stat = Laya.Stat, Handler = Laya.Handler; // 不支持WebGL时自动切换至Canvas Laya.init(700, 1024, WebGL); Laya.stage.al...
来源: Laya2.0_示例 发布时间: 20241118