大约有 70 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0042 秒)
...如下: View.getCompInstance=function(json){ var runtime=json.props ? json.props.runtime :""; var compClass=runtime ? (View.viewClassMap[runtime] || Laya["__classmap"][runtime]):View.uiClassMap[json.type]; return compClass ? new compClass():null; } 这第2句代码貌...
来源: Laya_社区 发布时间: 20160913
...,结局依然是undefined。 laya.components.Script 里面定义了 /** @prop {name:poker,tips:"prefab",type:Prefab}*/ private mPokerObj: laya.components.Prefab 然后再编辑模式里面手动拖拽事先编辑好的prefab 然后再代码中 laya.utils.Pool.getItemByCreateFun("poker", this.mPoke...
来源: Laya_社区 发布时间: 20190304
Nodes 标签怎么使用 /** @prop {name:menuGoodsItems, type:Nodes}*/ menuGoodsItems: Laya.Box; IDE中怎么给这个赋值 2019-03-26 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 bpmf_d 赞同来自: we...
来源: Laya_社区 发布时间: 20190326
...内容如下: { "x":0, "type":"Dialog", "selectedBox":1, "selecteID":3, "props":{"width":640,"sceneColor":"#000000","height":480}, "nodeParent":-1, "label":"Dialog", "isOpen":true, "isDirectory":true, "isAniNode":true, "hasChild":true, "compId":1, "child":[ { "x":15, "type":"Image", "props":{"y":0...
来源: Laya_社区 发布时间: 20190109
...载操作吗? 我所见对于预制体的操作只有这些啊: /** @prop {name:dropBox,tips:"掉落容器预制体对象",type:Prefab}*/ dropBox: Laya.Prefab; 其他还有哪做了加载? 一位不愿意透露姓名的无头像者 • 2018-10-25 15:13 @Laya_Aaron:我要使用脚本...
来源: Laya_社区 发布时间: 20181024
...请问改 "transparent",这个方法可以吗? "type": "Material", "props": { "name": "mat_decoration_flower_10_bx01_white_on", "transparent": true, "cullFace": true }, 2017-01-14 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 edwar...
来源: Laya_社区 发布时间: 20170112
...t class HelloUI extends Scene { public static uiView:any ={"type":"Scene","props":{"width":640,"height":1136},"compId":2,"child":[{"type":"Label","props":{"y":64,"x":214.5,"width":211,"text":"label","styleSkin":"comp/label.png","height":67},"compId":3}],"loadList":["comp/label.png"],"loadList3D":[]}...
来源: Laya_社区 发布时间: 20190625
...~~~~~~~~~~~~~ laya2.0加载3d场景报错Uncaught TypeError: Cannot read property 'btCollisionObject' of undefined 3D模型无法修改scale? 问题状态 最新活动: 2019-03-15 14:13 浏览: 988 关注: 2 人 zhongguo168a • 2019-03-15 14:26 找到解决办法了, 删掉脚本文件, 重新挂...
来源: Laya_社区 发布时间: 20190315
...l(this); this.createView(testUI.uiView); } testUI.uiView={"type":"Dialog","props":{"width":266,"height":720},"child":[{"type":"Image","props":{"y":0,"x":0,"skin":"poker/bottom_slider.png"}}]}; return testUI; })(Dialog);我定义了一个对象来使用它 var SelectColorDialog = (function () { funct...
来源: Laya_社区 发布时间: 20180325
...就现以下错误 Error processing "variables": TypeError: Cannot read property 'length' of undefined at trimProperty (d:\Program Files\LayaIDE\resources\app\extensions\laya-debug\node_modules\vscode-chrome-debug-core\out\src\chrome\variables.js:137:18) at propertyPreviewToString (d:\Program Fil...
来源: Laya_社区 发布时间: 20171203