大约有 1,151 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0048 秒)
...器发出的事件,开发者可以在触发器物体上添加的脚本(Script3D)监听。监听的方法如图1所示: (图1) 碰撞器也是会派发事件的。监听方法如下图2: (图2) 下面我们来看下具体如何使用这些接口,本次代码节...
来源: Laya2.0_文档 发布时间: 20210714
...os原生回调问题 真机调试报错:LayaPlayer不支持的标签</SCRIPT> 问题状态 最新活动: 2019-06-20 17:24 浏览: 2296 关注: 7 人 186*****645 • 2019-07-25 02:00 window['Config3D']['_default']['_defaultPhysicsMemory'] = 512 把这句粘在Main.ts构造函数的最前面...
来源: Laya_社区 发布时间: 20181025
...例如下: const { regClass, property } = Laya; @regClass() export class Script extends Laya.Script { //declare owner : Laya.Sprite3D; @property({ type: Laya.Scene3D }) scene3d: Laya.Scene3D; constructor() { super(); } /** * 组件被激活后执行,此时所有节点和组件均已创建完毕...
来源: Laya3.0_文档 发布时间: 20251010
...改 吗 ? esboy1988 • 2018-03-22 20:38 请问下 这个工具中的 if-script 这种宏 在编辑器中 怎么设置 后,才能让编译器在编译的时候顺利通过,而不是手动的去 删除替换 if-flash 后的代码? Yangcy • 2019-02-19 11:48 兼容处理工具在哪里?
来源: Laya_社区 发布时间: 20160913
...理引擎出错。 真机调试报错:LayaPlayer不支持的标签</SCRIPT> 路径是对的,但老是,调试控制台提示:错误,图片是IDE自带的,也不显示 本地调试加载本地图片都报错 LayaAir下如何成功调试matter.js物理引擎Demo? 在FB中编译后...
来源: Laya_社区 发布时间: 20191113
....js:17 require @ VM96 WAGameSubContext.js:2 (anonymous) @ VM121:1 doWhenAllScriptLoaded @ game.js:43 scriptLoaded @ game.js:58 script.onload @ game.js:66 load (async) (anonymous) @ game.js:65 (anonymous) @ game.js:77 laya.core.js:1 Failed to load ui/attack.png: ReferenceError: ImageBitmap is not def...
来源: Laya_社区 发布时间: 20231116
...DOMException: play() 真机调试报错:LayaPlayer不支持的标签</SCRIPT> 用了ByteArray的zlib.min.js后报错 runtime运行报错! 小游戏项目 加载有中文的json文件 报错 2.2.0beta4,微信上动态合批报错. 请问laya里如何解析json,似乎和AS3的不太一样...
来源: Laya_社区 发布时间: 20190926
...06 error Exit status 1 5907 error Failed at the electron@1.7.9 postinstall script. 5907 error This is probably not a problem with npm. There is likely additional logging output above. 5908 verbose exit [ 1, true ] 附件 : --> 2017-12-06T10_02_53_392Z-debug.zip 2017-12-06 添加评论 免费帖 --> ...
来源: Laya_社区 发布时间: 20171206
...gClass, property } = Laya; @regClass() export class UI_Dialog extends Laya.Script { private DIALOG_WIDTH: number = 220; private DIALOG_HEIGHT: number = 275; private CLOSE_BTN_WIDTH: number = 43; private CLOSE_BTN_PADDING: number = 5; private assets: any[]; private dialog: Laya.Dialog; constructor() ...
来源: Laya3.0_文档 发布时间: 20230303
...成的ui代码报错 真机调试报错:LayaPlayer不支持的标签</SCRIPT> 2.2.0beta4,微信上动态合批报错. 官网示例摇一摇报错,就解决方案 问题状态 最新活动: 2022-04-06 15:04 浏览: 2963 关注: 2 人
来源: Laya_社区 发布时间: 20220406