大约有 1,136 项符合查询结果, 库内数据总量为 30,953 项。 (搜索耗时: 0.0051 秒)
...报错: Error: Cannot find module '../../libs/pb2' from 'E:\myLaya2D\src\script' at D:\Program Files\LayaAirIDE2.0\resources\app\node_modules\browser-resolve\node_modules\resolve\lib\async.js:55:21 at load (D:\Program Files\LayaAirIDE2.0\resources\app\node_modules\browser-resolve\node_modules\reso...
来源: Laya_社区 发布时间: 20190220
...js:16108:12) at new GameUI (/Users/yons/Documents/myLaya/demopos/src/script/GameUI.ts:38:25) at SceneLoader.create (/Users/yons/Documents/myLaya/demopos/bin/libs/laya.core.js:22073:12) at EventHandler.__proto.run (/Users/yons/Documents/myLaya/demopos/bin/libs/laya.core.js:1393:27) ...
来源: Laya_社区 发布时间: 20190220
...除释放资源? 真机调试报错:LayaPlayer不支持的标签</SCRIPT> 横屏模式在锁定竖屏的iphone上不能正常显示的问题 问题状态 最新活动: 2017-11-04 14:39 浏览: 1319 关注: 2 人 newway1992 • 2017-11-07 10:55 安卓支付宝内置浏览器https与http访...
来源: Laya_社区 发布时间: 20171104
...PackageAndroidArtifact$IncrementalSplitterRunnable > Entry name 'assets/scripts/config.js' collided demo 我补充回复在帖子里了,不清楚是不是因为 1.0.9 文件替换我有什么遗漏的地方,辛苦帮忙看下~ 谢谢! satoxi • 2024-09-02 18:22 没问题了!谢谢!
来源: Laya_社区 发布时间: 20240813
...所示: const { regClass, property } = Laya; @regClass() export class NewScript extends Laya.Script { @property({ type: Laya.Button }) public uiBtn: Laya.Button; constructor() { super(); } /** * 组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 */ ...
来源: Laya3.0_文档 发布时间: 20240910
...24 18:14 写一个ts文件,写上 export default class Move extends Laya.Script{ /** @prop {name:target,tips:"目标容器",type:Prefab}*/ targetPrefab:Laya.Prefab; } 将文件在编辑模式下赋给点添加组件=》code=》move 然后创建一个box拖为预制体 放在工程 Scenes...
来源: Laya_社区 发布时间: 20181024
...属性个数=16 04-11 11:17:09.578 8591-8609/? I/LayaBox﹕ Start js scripts/apploader.js 04-11 11:17:09.793 8591-8658/? I/LayaBox﹕ js thread started. 04-11 11:17:09.797 8591-8658/? I/LayaBox﹕ found the file in the package:scripts/runtimeInit.js 04-11 11:17:09.802 8591-8658/c...
来源: Laya_社区 发布时间: 20170411
...需要腳本來做任何事情都要在 EffectAnimation的runtime中放入Script? 補充一下,Layabox1版本可以使用EffectAnimation,到了Layabox2版本EffectAnimation就無法使用了。 2018-11-26 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀...
来源: Laya_社区 发布时间: 20181126
...ebgl,ui 想請問代碼應該要寫在哪邊? 測試不管貼在laya.script 裡面或外面都會在翻轉後跑版 ...測試過後發現是Laya.stage.screenMode 會造成跑版的情況 為何範例不會? 附件 : --> 2019-09-09 添加评论 免费帖 --> 分享 微博 QZONE 微...
来源: Laya_社区 发布时间: 20190909
...1.0这种目录下有一堆文件,然后你检查index.xml里的引用的script路径对不对,不对的改掉,然后打包app,这时候资源路径选择那个index.xml的路径,也就是release/ayaweb/v1.0.0那种路径,然后在打包 4.现在不支持3D项目的打包 试试看吧...
来源: Laya_社区 发布时间: 20171108