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

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

471. Sprite optimizeScrollRect = true 似乎有问题 [ 69%]

Sprite optimizeScrollRect = true 似乎有问题 this.initMask = function () { this.mask = new Sprite(); this.mask.width = this.width; this.mask.height = this.height; this.mask.scrollRect = new Rectangle(); this.mask.scrollRect.setTo(0, 0, this.width, this.height); this.mask.optimizeScrollRect = tr...

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

472. layacmd 安装不成功 [ 69%]

...Administrator\AppData\Roaming\npm\node_modules\layacmd\node_modules\ele ctron\install.js:48 throw err ^ Error: read ECONNRESET at exports._errnoException (util.js:1022:11) at TLSWrap.onread (net.js:569:26) C:\Users\Administrator\AppData\Roaming\npm `-- (empty) npm ERR! Windows_NT 6.1.7601 npm ERR! a...

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

473. laya.resource.Texture2D_API3.0 [ 69%]

...ch Preparing search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/resource/Texture2D" Texture2D Class Texture2D Texture2D 类用于生成2D纹理。 Hierarchy BaseTexture Texture2D Index Constructors co...

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

474. 新版版2d粒子问题?同样的代码,LayaAir IDE 2.1.0版本正常,LayaAir IDE 2.2.0beta2版本报错 [ 69%]

...DE 2.1.0版本正常,LayaAir IDE 2.2.0beta2版本报错    Laya.stage.on(Laya.Event.CLICK, this, () => {             Laya.loader.load("HallAni/star.part", Laya.Handler.create(this, (settings) => {                 let Particle2D = Laya.Particle2D;        ...

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

475. 超出文本区域的处理&滚动文本(TypeScript-LayaAir基础篇(TS)-文本) [ 69%]

...er = Laya.Browser; import WebGL = Laya.WebGL; export class HelloLayabox { constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(600, 300, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgCol...

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

476. UI加载完成后无法获取控件的大小——超详细版问题 [ 69%]

...mport Stage = laya.display.Stage; class TestUI extends ui.test.testwhUI { constructor() { super(); this.mypan.vScrollBarSkin = ""; Laya.stage.on(Laya.Event.RESIZE, this, this.fitDOMElements); this.mypan.vScrollBar.on(Laya.Event.CHANGE, this, this.fitDOMElements_scroll); } private fitDOMElements(a, b...

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

477. 如何通过代码控制prefab上面的时间轴动画animation[ 69%]

如何通过代码控制prefab上面的时间轴动画animation? 在prefab上面做了一个时间轴动画,load之后如果能够获取到这个animation通过代码来控制 附件 : --> 2019-02-15 添加评论 已悬赏15元 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: ...

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

478. 点击list的时候触发的e.target永远是被点击的item? [ 69%]

...样。 附件 : --> 2016-10-30 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 cuixueying 赞同来自: public function TestView() { var arr:Array=; for(var i:int=0;i<10;i++) { arr.push({my_clip:i}); } my_list.a...

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

479. 苹果上架问题, [ 69%]

...ble Guideline 2.5.2 - Performance - Software Requirements Your app, extension, or linked framework appears to contain code designed explicitly with the capability to change your app’s behavior or functionality after App Review approval, which is not in compliance with App Store Review Guideline 2...

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

480. hitTestPrior点击穿透 [ 69%]

...止穿透到box中 2017-09-18 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 cuixueying 赞同来自: lllzzz6311 package { import laya.display.Sprite; import laya.events.Event; import laya.webgl.WebGL; public clas...

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