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

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

191. laya2.8.0IDE工具中打安卓包(LayaNative版本相同),无法加载游戏启动页 [ 67%]

...ppiness.joyleafs.com/ncapi/client/app*/index.json I/LayaBox: setCachePath:/data/user/0/com.layabox.run.*//LayaCache//appCache/     read index:/data/user/0/com.layabox.run.*//LayaCache//appCache/da25d557/filetable.txt I/LayaBox:  require(/sdcard/layabox/scripts/config.js) I/LayaBox: found the file...

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

192. 关于创建Sprite获取大小 [ 67%]

...is.scaleX = _this.set_width / texture.sourceWidth _this.pivotX = _this.row_data.property.x_m * texture.sourceWidth _this.pivotY = _this.row_data.property.y_m * texture.sourceHeight _this.scaleY = _this.set_height / texture.sourceHeight })) kezhiyu • 2018-05-31 13:07 你不需要关心图片本身...

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

193. 聊天消息对话框中new一个HTMLDivElement 报错"Illegal constructor",请问这个该怎么处理? [ 67%]

...ll; constructor(){ super(); // this.initLineView(); } public initLineView (data) : void { this.pos(0,0); console.log(this.textfield); if (this.textfield == null) { var stextfield = new HTMLDivElement(); } } 2018-07-09 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已...

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

194. HTTP通信 · LayaAir3.3 · 引擎文档 · LAYABOX [ 67%]

... URL 与包含脚本的文本具有相同的主机名和端口。 * @param data (default = null)发送的数据。 * @param method (default = "get")用于请求的 HTTP 方法。值包括 "get"、"post"、"head"。 * @param responseType (default = "text")Web 服务器的响应类型,可设置为 "...

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

195. laya.d3.component.animator.AvatarMask_API3.0 [ 67%]

...TransformActive setTransformActive Constructors constructor new AvatarMask(data?: any): AvatarMask Defined in laya/d3/component/Animator/AvatarMask.ts:6 创建一个AvatarMask实例 Parameters Optional data: any Returns AvatarMask Methods clone clone(): any Defined in laya/d3/component/Animator/Avat...

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

196. List属性详解(ActionScript-IDE篇(AS3)-IDE组件属性详解) [ 67%]

... (图5) ####6. 在代码里给 List 对象赋值。 ```javascript var data:Array =[]; for(var m:int =0;m ​ (图6) ####8. 在代码里添加脚本,隐藏滚动条,设置拖拽的橡皮筋效果。 ```javascript m_list.scrollBar.hide = true;//隐藏列表的滚动条。 m_list.scrollBar....

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

197. swf转成H5资源显示超出原有范围 [ 67%]

...常的,用的LayaFlash编译之后图片超出设定范围 且载入的data.swf尺寸跟原来不同,不方便调整大小及位置来适配不同设备,麻烦帮忙看下,谢谢啦,贴上代码。 package {     import flash.display.Loader;     import flash.display.LoaderInfo;    ...

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

198. 关于list滚动位置的问题 [ 67%]

...changeHandler = new Handler(this, onChange); for(var m:int=0;m<21;m++){ data.push({m_label:"No."+m}); } mDemoUi.m_list.array=data; Laya.stage.addChild(mDemoUi); ... private function onChange():void{ trace("list index= "+mDemoUi.m_list.scrollBar.value); mDemoUi.valueLab.text="滚动条位置value=...

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

199. laya.resource.TextResource_API3.0 [ 67%]

...rarchy Resource TextResource Index Constructors constructor Properties _id data destroyedImmediately format lock name url uuid DEBUG Accessors cpuMemory destroyed gpuMemory id obsolute referenceCount cpuMemory gpuMemory Methods _addReference _clearReference _removeReference _setCPUMemory _setCreateU...

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

200. 使用UI组件tree时,添加的数据结构必须是xml吗?添加xml时对于tree的单元格里面的label如何控制例如visible的属性 [ 67%]

...的链接 提交 2 个回复 shiyang12345 赞同来自: var xmlString="<data>"+ "<dir name='shi' num='10000' state='已集结' time_pro='' isOpen='true'>"+ "<file num='1000' ok='ok' isOpen='true'/>"+ "<file num='1000' ok='ok' isOpen='true'/>"+ "<file num='1000' ok='ok' isO...

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