大约有 2 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0018 秒)
...Geolocation.enableHighAccuracy = true; Laya.Geolocation.watchPosition(Laya.Handler.create(this, this.updatePosition), Laya.Handler.create(this, this.onError)); // 绑定convertToBaiduCoord作用域 this.convertToBaiduCoord = this.convertToBaiduCoord.bind(this); } } 由于本例不需要使用LayaAir...
来源: Laya3.0_文档 发布时间: 20251010
...` 前缀**访问所有引擎类和静态方法。 ✅ `Laya.Sprite`, `Laya.Handler.create(...)` ❌ `Sprite`, `Handler` --- ## 入口规范 (Entry.ts) 入口函数结构固定,禁止修改: ```typescript export async function main() { /* 正式初始化逻辑 */ } ``` ❌ 禁止提交测试代...
来源: Laya3.0_文档 发布时间: 20260128