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

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

1991. tween有这个一个bug [ 46%]

...ale2d.y; share.x = this.Move2d.x; share.y = this.Move2d.y; this.SceneMajor.addChild(share); share.btShare.on('click',this,function(){ // Laya.SoundManager.playSound(SfxPool.btPress, 1, null); this.SceneShareDark(); }); share.btSignUp.on('click',this, SignUp_Func); var timeLine = new Laya.TimeLine();...

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

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

..."; ta.pos(100, 15); ta.size(375, 355); ta.padding = "70,8,8,8"; this.owner.addChild(ta); } } (代码中的图片资源来自“引擎API使用示例”项目,开发者可以自行创建下载) 运行结果: (图2-1) Copyright ©Layabox 2026 all right reserved,powered by LayaAir Engine...

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

1993. emoji表情文字乱码 [ 46%]

...      var tSprite=new Sprite();                 this.addChild(tSprite);                 tHTMLChar.setSprite(tSprite);             }         }         return words;     }   2018-10-22 0 0 分享 微博 QZONE 微信 chen 赞同来...

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

1994. 发现TimeLine的一些问题,像是BUG [ 46%]

...p.graphics.drawRect(0, 0, 50, 50, "#ffffff"); sp.x=xx; sp.y=yy; Laya.stage.addChild(sp); return sp; } //添加缓动的函数 private function addTime(timeLine:TimeLine,sp:Sprite,yy:Number):void { timeLine=new TimeLine(); timeLine.to(sp, {y: yy}, 3000, Ease.linearIn); timeLine.once(Event.COMPLETE,th...

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

1995. [LayaAirIDE3]咋么实现鼠标点击角色移动 [ 46%]

...挂到角色节点 this.iceMonsterAni = new Laya.Animation(); this.owner.addChild(this.iceMonsterAni); this.iceMonsterAni.visible = false; // 默认隐藏 // 2. 开始加载 this.loadMcClips(); } /* ------------------------------------------------- * 对外唯一接口:随机播一条 * ----------...

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

1996. 如何自定义Shader(ActionScript-3D基础(AS3)-LayaAir3D之shader) [ 46%]

...自定义材质。 ```typescript //添加自定义模型 var box = scene.addChild(new Laya.MeshSprite3D(PrimitiveMesh.createBox(1, 1, 1))); //为了更好的表现该自定义shader我们去掉模型旋转,同时给摄影机添加了移动脚本 camera.addComponent(CameraMoveScript); //创建一个...

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

1997. 打包成APK后,POST请求会先去Download请求的地址 [ 46%]

...imeout, dt=8,opttimeout=1798 03-09 21:15:03.207 23554 23663 I LayaBox :  [addChild][BoundReference]   download 成功log: ↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓ 03-09 21:15:16.950 23554 23663 I LayaBox :  send httpRequest method:user.checkPlatformExist 03-09 21:...

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

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

...Data.getInstance().openId }); this.rank = new Laya.Sprite(); this.box_rank.addChild(this.rank); Laya.Browser.window.sharedCanvas.width = this.box_rank.width; Laya.Browser.window.sharedCanvas.height = this.box_rank.height; //alwaysChange = true不好用了 手动刷新 Laya.timer.loop(50, this, () =&...

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

1999. 关于微信小游戏渲染子域图的问题 [ 46%]

...hics.drawTexture(texture, 0, 0, texture.width, texture.height); Laya.stage.addChild(sprite);   }); 2018-11-23 添加评论 已悬赏5元 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 阿噗 赞同来自: if(Browser.onMiniGame) { WXOpe...

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

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

...labelSize = 12; button.labelColors = '#000000,#000000,#000000'; Laya.stage.addChild(button); return button; } private onClick(): void { // 触发浏览器文件上传框 let fileInput = Laya.Browser.document.getElementById('file'); fileInput.click(); console.log(fileInput);//input#file } } new GameM...

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