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

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

121. 预制体 · LayaAir3.3 · 引擎文档 · LAYABOX [ 37%]

...en("./Scenes/Index.ls"); }); }); // 侦听加载失败 Laya.loader.on(Laya.Event.ERROR, this, this.onError); }); } /** * 当报错时打印错误 * @param err 报错信息 */ onError(err: string): void { console.log("加载失败: " + err); } /** * 加载时侦听 */ onLoading(progress: number): voi...

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

122. 2D寻路 · LayaAir3.3 · 引擎文档 · LAYABOX [ 37%]

...mpents(this._allAgent, sprite.scene, Nav2DAgent); } onMouseClick(evt: Laya.Event): void { let pos = new Laya.Vector2(evt.stageX, evt.stageY); console.log("click", pos); this._temp.graphics.clear(); this._allAgent.forEach((agent) => { agent.destination = pos; let paths = agent.getCurrentPath(); if...

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

123. 安装layaair2-cmd一直失败 [ 36%]

...bin-wrapper\node_modules\got\index.js:182:22)     at Object.onceWrapper (events.js:300:26)     at ClientRequest.emit (events.js:210:5)     at TLSSocket.socketErrorListener (_http_client.js:406:9)     at TLSSocket.emit (events.js:210:5)     at emitErrorNT (internal/streams/destroy.js:92:8) ...

来源: Laya_社区 发布时间: 20200211

124. laya.ui.ColorPicker_API3.0 [ 34%]

...ve addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTimer close contains customRender destroy destroyChildren drawToCanvas drawToTexture drawToTexture3D event frameLoop frameOnce freshLayout fromParentPoint getBounds getChildAt getChildByName getChildIndex...

来源: Laya3.0_api 发布时间: 20231115

125. LayaAir和原生DOM交互(JavaScript-2D进阶篇(JS)-扩展模块) [ 31%]

...platform.com/manifests/vM7nH0Kl.m3u8'); hls.attachMedia(video); hls.on(Hls.Events.MANIFEST_PARSED, function () { video.play(); }); } plyr.setup(video); ``` 编译运行代码,发现网页已经可以播放视频了。开发者可能注意到这里我们初始化引擎的时候是这样的: `Laya...

来源: Laya2.0_文档 发布时间: 20210714

126. 和原生Dom交互 · LayaAir3.3 · 引擎文档 · LAYABOX [ 31%]

...platform.com/manifests/vM7nH0Kl.m3u8'); hls.attachMedia(video); hls.on(Hls.Events.MANIFEST_PARSED,function():void{ video.play(); }); } plyr.setup(video); } } new LayaUISample; 编译运行代码,发现网页已经可以播放视频了。开发者可能注意到这里我们初始化引擎的时候...

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

127. LayaAir和原生DOM交互(TypeScript-2D进阶篇(TS)-扩展模块) [ 30%]

...platform.com/manifests/vM7nH0Kl.m3u8'); hls.attachMedia(video); hls.on(Hls.Events.MANIFEST_PARSED,function():void{ video.play(); }); } plyr.setup(video); } } new LayaUISample; ``` 编译运行代码,发现网页已经可以播放视频了。开发者可能注意到这里我们初始化引擎的时...

来源: Laya2.0_文档 发布时间: 20210715

128. [LayaNative3]2d示例程序构建发布打包后,在OpenHarmony运行闪退 [ 29%]

.../LayaProject1/release/harmony/LayaProject1/libSysCapabilities/src/main/ets/event/HandleMessageUtils.ts:2:18 Currently module for 'liblaya.so' is not verified. If you're importing napi, its verification will be enabled in later SDK version. Please make sure the corresponding .d.ts file is provided an...

来源: Laya_社区 发布时间: 20250106

129. lib/arm/liblayaair.so 总是崩溃 [ 23%]

...14 10:57:50.024 3526-3928/? D/WifiProJNI: Received kernel message payload: event 0 08-14 10:57:50.025 3526-3928/? I/QosMonitor: postEventFromNative: msg=100,arg1=0,arg2=9 08-14 10:57:50.025 3526-3928/? W/WifiProJNI: poll before: g_monitor_fd =163 08-14 10:57:50.025 3526-3526/? I/MQoS: rtt=440,tcp_tx...

来源: Laya_社区 发布时间: 20180814