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

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

671. laya.ui.Button [ 61%]

...默认为true。 Sprite  iconOffset : String图标x,y偏移,格式:100,100Button  label : String 按钮的文本内容。 Button  labelAlign : String标签对齐模式,默认为居中对齐。Button  labelBold : Boolean 表示按钮文本标签是否为粗体字。 Button  labelColor...

来源: laya_api 发布时间: 20170929

672. 文本-滚动文本 [ 61%]

...,面向AS/JS/TS开发者提供HTML5开发技术方案!"; txt.size(200, 100); txt.x = Laya.stage.width - txt.width >> 1; txt.y = Laya.stage.height - txt.height >> 1; txt.borderColor = "#FFFF00"; txt.fontSize = 20; txt.color = "#ffffff"; Laya.stage.addChild(txt); txt.on(Event.MOUSE_DOWN, this, sta...

来源: Laya_示例 发布时间: 20260303

673. 百万奖金+流量扶持+奥飞IP授权, 微信小游戏创意大赛开启报名 [ 61%]

...参加了,为了500云卷。 ip就给用1年,一款带ip游戏你以为100万就能开发了吗,还是微信小游戏,脑子瓦特了。 版号去掉30万,美术不要钱,开发人员不要钱。就这100万团队都养不活。 最多那完50万(50万宣传费)团队解散。ip一...

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

674. [LayaAir2]在使用videoDom创建视频元素后iPad跟iPhone中位置不一样 [ 61%]

...video.videoWidth; image.height = videoTexture.video.videoHeight; image.pos(100,100); Laya.stage.addChild(image); //目前LayaAir2.0引擎暂时没有提供刷新纹理机制,需要手动刷新。或者你可以试用LayaAir3.0引擎,那边实现videoTexture不用自己手动刷新 Laya.timer.fra...

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

675. laya.ui.ComboBox [ 61%]

...Sprite里面,示例: var htmlCanvas:HTMLCanvas = sprite.drawToCanvas(100, 100, 0, 0);//把精灵绘制到canvas上面 var sp:Sprite = new Sprite();//创建精灵 sp.graphics.drawTexture(htmlCanvas.getTexture());//把截图绘制到精灵上 Laya.stage.addChild(sp);//把精灵显示到舞台 也...

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

676. [LayaAir3]LayaNative ios使用TTF字体启动奔溃 [ 61%]

...0x1c1b38f00 <+28>:  cbz    x0, 0x1c1b38f48           ; <+100> ->  0x1c1b38f04 <+32>:  ldrh   w8, [x0, #0x4]     0x1c1b38f08 <+36>:  cbz    w8, 0x1c1b38f48           ; <+100>     0x1c1b38f0c <+40>:  rev16  w8, w8     0x1c1b38f10 &lt...

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

677. 请问laya有没有类似翻页容器(pageView)的组件? [ 61%]

... { this.list_rule.scrollBar.stopScroll(); this.list_rule.tweenTo(index - 1,100); } else if (this.list_rule.scrollBar.value > this.m_downValue) { this.list_rule.scrollBar.stopScroll(); this.list_rule.tweenTo(index + 1,100); } } this.m_downValue = -1; } } } 2020-10-18 0 0 分享 微博 QZONE 微信...

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

678. 文本-滚动文本 [ 61%]

...向AS/JS/TS开发者提供HTML5开发技术方案!"; this.txt.size(200, 100); this.txt.x = Laya.stage.width - this.txt.width >> 1; this.txt.y = Laya.stage.height - this.txt.height >> 1; this.txt.borderColor = "#FFFF00"; this.txt.fontSize = 20; this.txt.color = "#ffffff"; this.txt.on(Event.MOUSE_DO...

来源: Laya2.0_示例 发布时间: 20260303

679. laya.ui.TextInput [ 61%]

...Flash机制不同 Sprite  maxChars : int 字符数量限制,默认为10000。 设置字符数量限制时,小于等于0的值将会限制字符数量为10000。 TextInput mouseEnabled : Boolean 是否接受鼠标事件。 默认为false,如果监听鼠标事件,则会自动设置本对象...

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

680. [LayaAirIDE3]2d相机打包后问题 [ 60%]

...l.color = "#FFFFFF";         maxXLabel.pos(this.playerScript.mapMaxX - 100, this.playerScript.mapMinY - 20);         this.owner.addChild(maxXLabel);          const minYLabel = new Laya.Text();         minYLabel.text = `minY: ${this.playerScript.mapMinY}`;         minYLabel.color...

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