• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 2 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0022 秒)

1. 使用百度地图 · LayaAir3.4 · 引擎文档 · LAYABOX [ 100%]

...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

2. AI编码环境:CodingMCP · LayaAir3.4 · 引擎文档 · LAYABOX [ 72%]

...` 前缀**访问所有引擎类和静态方法。 ✅ `Laya.Sprite`, `Laya.Handler.create(...)` ❌ `Sprite`, `Handler` --- ## 入口规范 (Entry.ts) 入口函数结构固定,禁止修改: ```typescript export async function main() { /* 正式初始化逻辑 */ } ``` ❌ 禁止提交测试代...

来源: Laya3.0_文档 发布时间: 20260128