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

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

1571. 多行输入文本组件 · LayaAir3.4 · 引擎文档 · LAYABOX [ 44%]

...idth >> 1, Laya.stage.height >> 1); //位置 this.txtarea.size(500, 200); //大小 this.txtarea.pivot(this.txtarea.width/2, this.txtarea.height/2); //轴心点 this.txtarea.text = "大家好,欢迎各位开发者使用LayaAir IDE,这里是TextArea的文本内容,您可以基于此...

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

1572. TextInput 在panle里滚动后输入位置错乱,求解 [ 44%]

... = new Input();                          inputText.size(350, 100);             inputText.x = Laya.stage.width - inputText.width >> 1;             inputText.y = Laya.stage.height - inputText.height >> 1;                          // 移...

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

1573. laya.ui.Clip [ 44%]

...Sprite对象本身,所以可以使用如下语法:spr.pivot(...).pos(50, 100); Sprite  play(from:int = 0, to:int = -1):void 播放动画。 Clip pos(x:Number, y:Number, speedMode:Boolean = false):Sprite 设置坐标位置。相当于分别设置x和y属性。 因为返回值为Sprite对象本...

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

1574. 缓存工具-layadcc(TypeScript-LayaNative原生服务-LayaNative进阶) [ 44%]

...息是基于完整数据生成的。例如共有100个资源,只想打包50个到app中,需要先在完整资源状态下打dcc,保存生成的dcc信息(主要是filetable.txt),然后删掉50个资源,用layadcc生成cache文件,这时候cache目录下生成dcc信息是不完整的...

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

1575. LayaAir 2.0 微信排行榜 离屏画布不能直接附加到组件纹理上 [ 44%]

...ank.height; //alwaysChange = true不好用了 手动刷新 Laya.timer.loop(50, this, () => { var texture2D = new Laya.Texture2D(); texture2D.loadImageSource(Laya.Browser.window.sharedCanvas, true); var texture = new Laya.Texture(texture2D); //texture.bitmap.alwaysChange = true; this.rank.graphics...

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

1576. laya.d3.core.scene.Scene3D [ 44%]

...Sprite对象本身,所以可以使用如下语法:spr.pivot(...).pos(50, 100); Sprite pos(x:Number, y:Number, speedMode:Boolean = false):Sprite 设置坐标位置。相当于分别设置x和y属性。 因为返回值为Sprite对象本身,所以可以使用如下语法:spr.pos(...).scale(......

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

1577. 微信小游戏IDE加载位图字体,提示错误 [ 44%]

...ssing launch: Error Could not attach to main target Ts 编辑提示error TS5023: Unknown option 'p' 微信小游戏:HTMLDivElement的使用 Laya mac版的IDE 是没测试就上线了吗? 问题状态 最新活动: 2018-05-22 18:29 浏览: 1586 关注: 8 人 努力努力再努力 • 2018-09-25 2...

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

1578. Laya2.0导入protobufjs第三方库,报错找不到文件 [ 44%]

...不到。 出错了: TypeScript error: node_modules/@types/node/index.d.ts(50,22): Error TS6053: File 'node_modules/@types/node/base.d.ts' not found.   现在把protobufjs放到Laya IDE的安装目录下的node_modules下面。可以编译通过了。 但又有新的问题,代码提示找不到pr...

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

1579. 无法触发浏览器文件上传框 [ 44%]

...原生的input是覆盖在最顶层上面的吗? ohkei • 2017-05-16 16:50 @liukaijv: 把input写到laya.js引用的下面即可,按照顺序input就会在canvas上面了,默认要把input隐藏,需要它出现的时候再用__JS__("showInput()")让它显示

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

1580. laya.ui.UIGroup [ 44%]

...Sprite对象本身,所以可以使用如下语法:spr.pivot(...).pos(50, 100); Sprite pos(x:Number, y:Number, speedMode:Boolean = false):Sprite 设置坐标位置。相当于分别设置x和y属性。 因为返回值为Sprite对象本身,所以可以使用如下语法:spr.pos(...).scale(......

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