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

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

631. VSCode高效开发工作流配置指南(TypeScript-IDE篇(TS)-代码模式基础) [ 19%]

...: "${workspaceRoot}/bin/index.html", "runtimeArgs": [ "--allow-file-access-from-files", "--disable-web-security" ], "sourceMaps": true, "webRoot": "${workspaceRoot}", "userDataDir": "${workspaceRoot}/.laya/chrome", "sourceMapPathOverrides": { "src/*": "${workspaceRoot}/src/*" } } ] } ``` > 需要重...

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

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

...lt:0 01-06 17:34:41.494 405 1695 I C01700/RSS: ResSchedService::ReportData from ipc receive data resType = 27, value = 1. 01-06 17:34:41.495 405 626 I C01703/socperf: [HandleAppAbilityStart]: SocPerfPlugin: socperf->APP_COLD_START 01-06 17:34:41.495 797 1382 W C01630/DistributedDB: KvDB communica...

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

633. 打包安卓Android studio黑屏 [ 19%]

... huawei-mha_al00-3HX0217401012320 Capturing and displaying logcat messages from application. This behavior can be disabled in the "Logcat output" section of the "Debugger" settings page. I/om.layabox.tes: Reinit property: dalvik.vm.checkjni= false D/ZrHung.AppEyeUiProbe: AppEyeUIP created. D/Activit...

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

634. 示例打地鼠发布打包后提示TypeError: this.preinitialize is not a function [ 18%]

...me Connecting to com.layabox.game Capturing and displaying logcat messages from application. This behavior can be disabled in the "Logcat output" section of the "Debugger" settings page. D/dalvikvm: Late-enabling CheckJNI W/ActivityThread: Application com.layabox.game is waiting for the debugger on ...

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

635. laya.ui.FontClip [ 17%]

...一次某函数(基于帧率)。功能同Laya.timer.frameOnce()。 Node fromImage(url:String):Sprite[static] 根据图片地址创建一个新的 Sprite 对象用于加载并显示此图片。 Sprite fromParentPoint(point:Point):Point 将父容器坐标系坐标转换到本地坐标系。 Sprite ...

来源: Laya2.0_api 发布时间: 20190513

636. 网络通信 · LayaAir3文档 · LAYABOX [ 16%]

...rivate onMessageReveived(message: any = null): void { console.log("Message from server:"); if (typeof (message) == 'string') { console.log(message); } else if (message instanceof ArrayBuffer) { console.log(new Byte(message).readUTFBytes()); } // 清理缓存的服务端发来的数据 this.socket.in...

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

637. 组件装饰器说明 · LayaAir3.3 · 引擎文档 · LAYABOX [ 15%]

...erty( { type:Laya.Prefab } ) //加载 Prefab 拿到的对象 private prefabFromResource: Laya.Prefab; @property( { type:Laya.ShurikenParticleRenderer } ) //ShurikenParticleRenderer组件类型 private particle3D: Laya.ShurikenParticleRenderer; @property( { type:Laya.Node } ) //节点类型 private s...

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

638. LayaAir3D UnityPlugin 使用须知-版本更新-问题解答(最新版本:1.7.16) [ 15%]

...ity报出现以下错误,跪求调教~ InvalidCastException: Cannot cast from source type to destination type. LayaExport.DataManager.saveLmatFile (UnityEngine.Material material, System.String savePath, ComponentType type) LayaExport.DataManager.getMeshRendererComponentData (UnityEngine.GameObject...

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

639. 绘制能力 · LayaAir3.3 · 引擎文档 · LAYABOX [ 14%]

...(DrawLineCmd) 绘制线段,创建后如图5-1所示。 (图5-1) From:线的起始点,相对于Sprite对象,X轴,Y轴的偏移量。 To:线的终点,相对于Sprite对象,X轴,Y轴的偏移量。 Percent:当勾选时,线的起始点和终点为Sprite对象尺寸的百分...

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

640. 一篇上手LayaAir的3D物理引擎(TypeScript-3D基础(TS)-LayaAir3D之物理系统) [ 11%]

...代码如下: ```typescript //引入自定义脚本TSDemo import TSDemo from "./TSDemo"; /** * TypeScript语言示例 */ export default class GameUI extends ui.TestSceneUI { /* ……省略若干代码 */ private addBox(): void { //创建盒型MeshSprite3D let box = this.newScene.addChild(new Laya...

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